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
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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