C# 클래스 TopologicalSorting.OrderedProcess

A process that requires execution, a process depends upon other processes being executed first, and the resources it uses not being consumed at the same time
파일 보기 프로젝트 열기: martindevans/TopologicalSorting 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Graph DependencyGraph
Name string

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
After ( ) : IEnumerable

Indicates that this process must happen after all the predecessors

After ( IEnumerable predecessors ) : IEnumerable

Indicates that this process must happen after all the predecessors

After ( OrderedProcess predecessor ) : OrderedProcess

Indicates that this process should execute after another

Before ( ) : IEnumerable

Indicates that this process must happen before all the followers

Before ( IEnumerable followers ) : IEnumerable

Indicates that this process must happen before all the followers

Before ( OrderedProcess follower ) : OrderedProcess

Indicates that this process should execute before another

OrderedProcess ( DependencyGraph graph, string name ) : System.Collections.Generic

Initializes a new instance of the OrderedProcess class.

Requires ( Resource resource ) : void

Indicates that this process requires the specified resource.

ToString ( ) : string

Returns a System.String that represents this instance.

메소드 상세

After() 공개 메소드

Indicates that this process must happen after all the predecessors
public After ( ) : IEnumerable
리턴 IEnumerable

After() 공개 메소드

Indicates that this process must happen after all the predecessors
public After ( IEnumerable predecessors ) : IEnumerable
predecessors IEnumerable The predecessors.
리턴 IEnumerable

After() 공개 메소드

Indicates that this process should execute after another
public After ( OrderedProcess predecessor ) : OrderedProcess
predecessor OrderedProcess The predecessor.
리턴 OrderedProcess

Before() 공개 메소드

Indicates that this process must happen before all the followers
public Before ( ) : IEnumerable
리턴 IEnumerable

Before() 공개 메소드

Indicates that this process must happen before all the followers
public Before ( IEnumerable followers ) : IEnumerable
followers IEnumerable The followers.
리턴 IEnumerable

Before() 공개 메소드

Indicates that this process should execute before another
public Before ( OrderedProcess follower ) : OrderedProcess
follower OrderedProcess The ancestor.
리턴 OrderedProcess

OrderedProcess() 공개 메소드

Initializes a new instance of the OrderedProcess class.
public OrderedProcess ( DependencyGraph graph, string name ) : System.Collections.Generic
graph DependencyGraph The graph which this process is part of
name string The name of this process
리턴 System.Collections.Generic

Requires() 공개 메소드

Indicates that this process requires the specified resource.
public Requires ( Resource resource ) : void
resource Resource The resource.
리턴 void

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string

프로퍼티 상세

Graph 공개적으로 프로퍼티

The graph this process is part of
public DependencyGraph,TopologicalSorting Graph
리턴 DependencyGraph

Name 공개적으로 프로퍼티

The name of this process
public string Name
리턴 string