C# Класс TreeSharp.Wait

Implements a 'wait' composite. This composite will return Running until some condition is met, or it has exceeded its alloted wait time.
Created 1/13/2011.
Наследование: Decorator
Показать файл Открыть проект

Открытые методы

Метод Описание
Execute ( object context ) : IEnumerable
Start ( object context ) : void
Stop ( object context ) : void
Wait ( CanRunDecoratorDelegate runFunc, Composite child ) : System

Creates a new Wait decorator with an 'infinite' timeout, the specified run delegate, and a child composite.

Wait ( int timeoutSeconds, CanRunDecoratorDelegate runFunc, Composite child ) : System

Creates a new Wait decorator using the specified timeout, run delegate, and child composite.

Wait ( int timeoutSeconds, Composite child ) : System

Creates a new Wait decorator with the specified timeout, and child composite.

Описание методов

Execute() публичный Метод

public Execute ( object context ) : IEnumerable
context object
Результат IEnumerable

Start() публичный Метод

public Start ( object context ) : void
context object
Результат void

Stop() публичный Метод

public Stop ( object context ) : void
context object
Результат void

Wait() публичный Метод

Creates a new Wait decorator with an 'infinite' timeout, the specified run delegate, and a child composite.
public Wait ( CanRunDecoratorDelegate runFunc, Composite child ) : System
runFunc CanRunDecoratorDelegate
child Composite
Результат System

Wait() публичный Метод

Creates a new Wait decorator using the specified timeout, run delegate, and child composite.
public Wait ( int timeoutSeconds, CanRunDecoratorDelegate runFunc, Composite child ) : System
timeoutSeconds int
runFunc CanRunDecoratorDelegate
child Composite
Результат System

Wait() публичный Метод

Creates a new Wait decorator with the specified timeout, and child composite.
public Wait ( int timeoutSeconds, Composite child ) : System
timeoutSeconds int
child Composite
Результат System