C# 클래스 MsBuilderific.Core.ProjectDependencyFinder

Finds the dependencies between the projects provided and generate the right build order
상속: IProjectDependencyFinder
파일 보기 프로젝트 열기: Vooban/vooban.msbuilderific

공개 메소드들

메소드 설명
AddExclusionPattern ( string pattern ) : void

Add an exclusion pattern, which will be found projects.

GetDependencyGraph ( IMsBuilderificCoreOptions coreOptions ) : Edge>.AdjacencyGraph

Build the dependency graph from the projects found in the root folder - the exlusion patterns

GetDependencyOrder ( IMsBuilderificCoreOptions coreOptions ) : List

Build the dependency graph between the projects in the root folder and optionnaly save the graph in a GraphML file

GetDependencyOrderFromGraph ( AdjacencyGraph graph ) : List

Process the graph to generate the correct project build order

PersistGraph ( AdjacencyGraph graph, IMsBuilderificCoreOptions options ) : void

Saves the graph in the GraphML format in the specified filename

ProjectDependencyFinder ( IEnumerable projectLoaders ) : System

Initializes a new instance of the ProjectDependencyFinder class.

RemoveExclusionPattern ( string pattern ) : void

Removes an exclusion pattern, which will be found projects.

비공개 메소드들

메소드 설명
ProcessGraph ( IMutableVertexListGraph graph, Queue &queue ) : int

Processes the graph by looking for project without dependency, removing them from the graph, and iterating until no more vertices exists in the graph

메소드 상세

AddExclusionPattern() 공개 메소드

Add an exclusion pattern, which will be found projects.
public AddExclusionPattern ( string pattern ) : void
pattern string /// The pattern to include ///
리턴 void

GetDependencyGraph() 공개 메소드

Build the dependency graph from the projects found in the root folder - the exlusion patterns
public GetDependencyGraph ( IMsBuilderificCoreOptions coreOptions ) : Edge>.AdjacencyGraph
coreOptions IMsBuilderificCoreOptions /// The coreOptions used to get the dependency order of the projects ///
리턴 Edge>.AdjacencyGraph

GetDependencyOrder() 공개 메소드

Build the dependency graph between the projects in the root folder and optionnaly save the graph in a GraphML file
public GetDependencyOrder ( IMsBuilderificCoreOptions coreOptions ) : List
coreOptions IMsBuilderificCoreOptions /// The coreOptions used to get the dependency order of the projects ///
리턴 List

GetDependencyOrderFromGraph() 공개 메소드

Process the graph to generate the correct project build order
public GetDependencyOrderFromGraph ( AdjacencyGraph graph ) : List
graph AdjacencyGraph /// The graph that will be navigated to find the right project build order ///
리턴 List

PersistGraph() 공개 메소드

Saves the graph in the GraphML format in the specified filename
public PersistGraph ( AdjacencyGraph graph, IMsBuilderificCoreOptions options ) : void
graph AdjacencyGraph /// The graph to persist ///
options IMsBuilderificCoreOptions /// The core options used to get information about the graph to generate ///
리턴 void

ProjectDependencyFinder() 공개 메소드

Initializes a new instance of the ProjectDependencyFinder class.
public ProjectDependencyFinder ( IEnumerable projectLoaders ) : System
projectLoaders IEnumerable
리턴 System

RemoveExclusionPattern() 공개 메소드

Removes an exclusion pattern, which will be found projects.
public RemoveExclusionPattern ( string pattern ) : void
pattern string /// The pattern to include ///
리턴 void