C# 클래스 TreeSharp.Decorator

상속: GroupComposite
파일 보기 프로젝트 열기: lances101/BoringHeroes 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
CanRun ( object context ) : bool

메소드 상세

CanRun() 보호된 메소드

protected CanRun ( object context ) : bool
context object
리턴 bool

Decorator() 공개 메소드

public Decorator ( CanRunDecoratorDelegate runFunc, Composite child ) : System
runFunc CanRunDecoratorDelegate
child Composite
리턴 System

Decorator() 공개 메소드

public Decorator ( Composite child ) : System
child Composite
리턴 System

Decorator() 공개 메소드

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

Execute() 공개 메소드

public Execute ( object context ) : IEnumerable
context object
리턴 IEnumerable

Start() 공개 메소드

public Start ( object context ) : void
context object
리턴 void