Class TransitiveDependenciesBuilder
Helper class to read transitive dependencies
Inheritance
object
TransitiveDependenciesBuilder
Namespace: BuildSystem.ProjectList.Helpers
Assembly: BuildSystem.ProjectList.dll
Syntax
public class TransitiveDependenciesBuilder : Object
Constructors
TransitiveDependenciesBuilder(ILogger?)
Helper class to read transitive dependencies
Declaration
public TransitiveDependenciesBuilder(ILogger? logger = null)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger |
Methods
AddProject(IProject)
Add new project for reading dependencies. Cache will be cleared
Declaration
public void AddProject(IProject project)
Parameters
Type | Name | Description |
---|---|---|
IProject | project |
GetDependencies(IProject)
Get all dependencies for project, including transitive dependencies
Declaration
public List<ProjectDependency> GetDependencies(IProject project)
Parameters
Type | Name | Description |
---|---|---|
IProject | project |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<><ProjectDependency> |