Class DependencyScanner
This class allows you to analyze project dependencies.
Inheritance
object
DependencyScanner
Implements
Namespace: ProjectDependencyScanner
Assembly: BuildSystem.Utils.dll
Syntax
public class DependencyScanner : Object, IProjectDependencyScanner
Constructors
DependencyScanner(ILogger?)
If ILogger is null, all logs are written to the console.
Declaration
public DependencyScanner(ILogger? logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger |
Properties
IDLPOSTFIX
The postfix name for projects with Delphi package type (where the source is IDL type project). Example: InterfaceIDL.bpl
Declaration
public static string IDLPOSTFIX { get; }
Property Value
Type | Description |
---|---|
string |
Recursive
Specifies a recursive dependency search option. Allows delphi projects to search for dependencies via its search paths.
Declaration
public static bool Recursive { get; set; }
Property Value
Type | Description |
---|---|
bool |
SrcProjectsList
Add all source projects to this list and execute the Scan() function. After executing the Scan() function, all projects in SrcProjectsList will fill in their dependenсy projects.
Declaration
public IDSProjectsList SrcProjectsList { get; }
Property Value
Type | Description |
---|---|
IDSProjectsList |
Methods
Scan()
Execute this function to collect all project dependencies in SrcProjectsList
Declaration
public void Scan()