Class StateMachine<TStateEnum>.Transition
Inherited Members
Namespace: Microsoft.Graph.Communications.Common
Assembly: Microsoft.Graph.Communications.Common.dll
Syntax
public sealed class Transition
Constructors
Transition(TStateEnum, TStateEnum[])
Initializes a new instance of the StateMachine<TStateEnum>.Transition class.
Declaration
public Transition(TStateEnum source, params TStateEnum[] targets)
Parameters
Type | Name | Description |
---|---|---|
TStateEnum | source | The source. |
TStateEnum[] | targets | The targets. |
Properties
Source
Gets the source state.
Declaration
public TStateEnum Source { get; }
Property Value
Type | Description |
---|---|
TStateEnum | The source. |
Targets
Gets the target states.
Declaration
public TStateEnum[] Targets { get; }
Property Value
Type | Description |
---|---|
TStateEnum[] | The targets. |