Class StateTransitionAttribute
Marks the transitions of this state. The state data will be verified against the list of transition states provided here.
Inheritance
StateTransitionAttribute
Assembly: LobsterFramework.dll
Syntax
[RegisterInitialization(0, AttributeType = InitializationAttributeType.Dual)]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public sealed class StateTransitionAttribute : InitializationAttribute, _Attribute
Constructors
|
Improve this Doc
View Source
StateTransitionAttribute(params Type[])
Declaration
public StateTransitionAttribute(params Type[] transitions)
Parameters
Type |
Name |
Description |
Type[] |
transitions |
|
Methods
|
Improve this Doc
View Source
Init(Type)
Perform initialization tasks
Declaration
protected override void Init(Type state)
Parameters
Type |
Name |
Description |
Type |
state |
|
Overrides
|
Improve this Doc
View Source
IsCompatible(Type)
Declaration
public static bool IsCompatible(Type state)
Parameters
Type |
Name |
Description |
Type |
state |
|
Returns
Implements