Interface ISmStateWithContext<TContext>
Defines a state within a state machine that maintains an associated context object of a specified type.
Namespace: Fwt.Core.StateMachines
Assembly: fwt.core.dll
Syntax
public interface ISmStateWithContext<TContext> : ISmState
Type Parameters
| Name | Description |
|---|---|
| TContext | The type of the context object associated with the state. This can be used to store state-specific data or information relevant to the state machine's operation. |
Properties
Context
Gets or sets the context associated with the current instance.
Declaration
TContext Context { get; set; }
Property Value
| Type | Description |
|---|---|
| TContext |