-
Notifications
You must be signed in to change notification settings - Fork 0
/
InputParameters.cs
44 lines (38 loc) · 1.56 KB
/
InputParameters.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System.Collections.Generic;
namespace BindingRedirectR
{
public class InputParameters
{
/// <summary>
/// Main assembly for which to consider the dependency tree.
/// Either a file path or a fully qualified assembly name.
/// </summary>
public string MainAssembly { get; set; }
/// <summary>
/// Base directory from which the relative paths will be executed.
/// </summary>
public string BaseDirectory { get; set; }
/// <summary>
/// All assemblies to load.
/// Either a file path, file path pattern, or a fully qualified assembly name.
/// </summary>
public IList<string> Assemblies { get; set; } = new List<string>();
/// <summary>
/// Additional dependencies that aren't detected in the assemblies manifest, but we want to consider.
/// </summary>
public IList<AdditionalDependency> AdditionalDependencies { get; } = new List<AdditionalDependency>();
public class AdditionalDependency
{
/// <summary>
/// Assembly that depends on the listed dependencies.
/// Either a file path or a fully qualified assembly name.
/// </summary>
public string Dependant { get; set; }
/// <summary>
/// Dependencies.
/// Either a file path, file path pattern, or a fully qualified assembly name.
/// </summary>
public IList<string> Dependencies { get; set; } = new List<string>();
}
}
}