C# Class SampleWcfService.StateMachineService

Inheritance: IStateMachineService
显示文件 Open project: TrueWill/FSM.NET

Public Methods

Method Description
GetAvailableEvents ( string currentState ) : IEnumerable
GetInitialState ( ) : string
GetNewState ( string currentState, string triggeringEvent ) : string

Private Methods

Method Description
StateMachineService ( ) : System

Method Details

GetAvailableEvents() public method

public GetAvailableEvents ( string currentState ) : IEnumerable
currentState string
return IEnumerable

GetInitialState() public method

public GetInitialState ( ) : string
return string

GetNewState() public method

public GetNewState ( string currentState, string triggeringEvent ) : string
currentState string
triggeringEvent string
return string