C# Class 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
Afficher le fichier Open project: martindevans/TopologicalSorting Class Usage Examples

Méthodes publiques

Свойство Type Description
Graph DependencyGraph
Name string

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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.

Method Details

After() public méthode

Indicates that this process must happen after all the predecessors
public After ( ) : IEnumerable
Résultat IEnumerable

After() public méthode

Indicates that this process must happen after all the predecessors
public After ( IEnumerable predecessors ) : IEnumerable
predecessors IEnumerable The predecessors.
Résultat IEnumerable

After() public méthode

Indicates that this process should execute after another
public After ( OrderedProcess predecessor ) : OrderedProcess
predecessor OrderedProcess The predecessor.
Résultat OrderedProcess

Before() public méthode

Indicates that this process must happen before all the followers
public Before ( ) : IEnumerable
Résultat IEnumerable

Before() public méthode

Indicates that this process must happen before all the followers
public Before ( IEnumerable followers ) : IEnumerable
followers IEnumerable The followers.
Résultat IEnumerable

Before() public méthode

Indicates that this process should execute before another
public Before ( OrderedProcess follower ) : OrderedProcess
follower OrderedProcess The ancestor.
Résultat OrderedProcess

OrderedProcess() public méthode

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
Résultat System.Collections.Generic

Requires() public méthode

Indicates that this process requires the specified resource.
public Requires ( Resource resource ) : void
resource Resource The resource.
Résultat void

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( ) : string
Résultat string

Property Details

Graph public_oe property

The graph this process is part of
public DependencyGraph,TopologicalSorting Graph
Résultat DependencyGraph

Name public_oe property

The name of this process
public string Name
Résultat string