C# Class TreeSharp.PrioritySelector

Will execute each branch of logic in order, until one succeeds. This composite will fail only if all branches fail as well.
Inheritance: Selector
Mostra file Open project: lances101/BoringHeroes Class Usage Examples

Public Methods

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

Method Details

Execute() public method

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

PrioritySelector() public method

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

PrioritySelector() public method

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

PrioritySelector() public method

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