C# Class TreeSharp.Decorator

Inheritance: GroupComposite
Datei anzeigen Open project: lances101/BoringHeroes Class Usage Examples

Public Methods

Method Description
Decorator ( CanRunDecoratorDelegate runFunc, Composite child ) : System
Decorator ( Composite child ) : System
Decorator ( string name, CanRunDecoratorDelegate runFunc, Composite child ) : System
Execute ( object context ) : IEnumerable
Start ( object context ) : void

Protected Methods

Method Description
CanRun ( object context ) : bool

Method Details

CanRun() protected method

protected CanRun ( object context ) : bool
context object
return bool

Decorator() public method

public Decorator ( CanRunDecoratorDelegate runFunc, Composite child ) : System
runFunc CanRunDecoratorDelegate
child Composite
return System

Decorator() public method

public Decorator ( Composite child ) : System
child Composite
return System

Decorator() public method

public Decorator ( string name, CanRunDecoratorDelegate runFunc, Composite child ) : System
name string
runFunc CanRunDecoratorDelegate
child Composite
return System

Execute() public method

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

Start() public method

public Start ( object context ) : void
context object
return void