Interface IStateMachineTransition<TState, TInput, TResult>
- Namespace
- LfrlAnvil.Computable.Automata
- Assembly
- LfrlAnvil.Computable.Automata.dll
Represents a transition to the specified IStateMachineNode<TState, TInput, TResult>.
public interface IStateMachineTransition<TState, TInput, TResult> where TState : notnull where TInput : notnull
Type Parameters
TState
State type.
TInput
Input type.
TResult
Result type.
Properties
Destination
Destination state.
IStateMachineNode<TState, TInput, TResult> Destination { get; }
Property Value
- IStateMachineNode<TState, TInput, TResult>
Handler
Optional handler invoked during the transition to Destination.
IStateTransitionHandler<TState, TInput, TResult>? Handler { get; }
Property Value
- IStateTransitionHandler<TState, TInput, TResult>