C# Class Animatroller.Framework.Controller.Sequence.SequenceJob

Inheritance: IRunnableState, ISequenceInstance
Exibir arquivo Open project: HakanL/animatroller Class Usage Examples

Protected Properties

Property Type Description
actions List>
cancelToken System.Threading.CancellationToken
effects Effect.IEffect>>.List
name string
setUpAction Action
tearDownAction Action

Public Methods

Method Description
Controls ( int priority = 1 ) : IRunnableState
Execute ( Action action ) : IRunnableState
SequenceJob ( string name ) : System
SetUp ( Action action ) : IRunnableState
TearDown ( Action action ) : IRunnableState
WaitFor ( System.TimeSpan value ) : ISequenceInstance
WaitFor ( System.TimeSpan value, bool throwExceptionIfCanceled ) : ISequenceInstance
WaitUntilCancel ( ) : ISequenceInstance
WaitUntilCancel ( bool throwExceptionIfCanceled ) : ISequenceInstance

Private Methods

Method Description
Run ( System cancelToken, bool loop ) : void

Method Details

Controls() public method

public Controls ( int priority = 1 ) : IRunnableState
priority int
return IRunnableState

Execute() public method

public Execute ( Action action ) : IRunnableState
action Action
return IRunnableState

SequenceJob() public method

public SequenceJob ( string name ) : System
name string
return System

SetUp() public method

public SetUp ( Action action ) : IRunnableState
action Action
return IRunnableState

TearDown() public method

public TearDown ( Action action ) : IRunnableState
action Action
return IRunnableState

WaitFor() public method

public WaitFor ( System.TimeSpan value ) : ISequenceInstance
value System.TimeSpan
return ISequenceInstance

WaitFor() public method

public WaitFor ( System.TimeSpan value, bool throwExceptionIfCanceled ) : ISequenceInstance
value System.TimeSpan
throwExceptionIfCanceled bool
return ISequenceInstance

WaitUntilCancel() public method

public WaitUntilCancel ( ) : ISequenceInstance
return ISequenceInstance

WaitUntilCancel() public method

public WaitUntilCancel ( bool throwExceptionIfCanceled ) : ISequenceInstance
throwExceptionIfCanceled bool
return ISequenceInstance

Property Details

actions protected_oe property

protected List> actions
return List>

cancelToken protected_oe property

protected System.Threading.CancellationToken cancelToken
return System.Threading.CancellationToken

effects protected_oe property

protected List> effects
return Effect.IEffect>>.List

name protected_oe property

protected string name
return string

setUpAction protected_oe property

protected Action setUpAction
return Action

tearDownAction protected_oe property

protected Action tearDownAction
return Action