Class SmState<TContext>
Represents an abstract state within a state machine that operates with a specific context type.
Inherited Members
Namespace: Fwt.Core.StateMachines
Assembly: fwt.core.dll
Syntax
public abstract class SmState<TContext> : SmState, ISmStateWithContext<TContext>, ISmState
Type Parameters
| Name | Description |
|---|---|
| TContext | The type of the context object associated with the state. This provides additional data or functionality relevant to the state machine's operation. |
Remarks
This class serves as a base for implementing state machine states that require contextual information. Derive from this class to define custom states with context-specific behavior.
Properties
Context
Gets or sets the context associated with the current instance.
Declaration
public virtual TContext Context { get; set; }
Property Value
| Type | Description |
|---|---|
| TContext |