C# Class TreeSharp.Sequence

The base sequence class. This will execute each branch of logic, in order. If all branches succeed, this composite will return a successful run status. If any branch fails, this composite will return a failed run status.
Inheritance: GroupComposite
Exibir arquivo Open project: lances101/BoringHeroes Class Usage Examples

Public Methods

Method Description
Execute ( object context ) : IEnumerable
Sequence ( ) : System.Collections.Generic
Sequence ( ContextChangeHandler contextChange ) : System.Collections.Generic
Sequence ( string name ) : System.Collections.Generic

Method Details

Execute() public method

public Execute ( object context ) : IEnumerable
context object
return IEnumerable

Sequence() public method

public Sequence ( ) : System.Collections.Generic
return System.Collections.Generic

Sequence() public method

public Sequence ( ContextChangeHandler contextChange ) : System.Collections.Generic
contextChange ContextChangeHandler
return System.Collections.Generic

Sequence() public method

public Sequence ( string name ) : System.Collections.Generic
name string
return System.Collections.Generic