C# Class TreeSharp.Decorator

Inheritance: GroupComposite
Afficher le fichier Open project: lances101/BoringHeroes Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
CanRun ( object context ) : bool

Method Details

CanRun() protected méthode

protected CanRun ( object context ) : bool
context object
Résultat bool

Decorator() public méthode

public Decorator ( CanRunDecoratorDelegate runFunc, Composite child ) : System
runFunc CanRunDecoratorDelegate
child Composite
Résultat System

Decorator() public méthode

public Decorator ( Composite child ) : System
child Composite
Résultat System

Decorator() public méthode

public Decorator ( string name, CanRunDecoratorDelegate runFunc, Composite child ) : System
name string
runFunc CanRunDecoratorDelegate
child Composite
Résultat System

Execute() public méthode

public Execute ( object context ) : IEnumerable
context object
Résultat IEnumerable

Start() public méthode

public Start ( object context ) : void
context object
Résultat void