Interface UnhandledEventContext<TInstance>
- Namespace
- Automatonymous
- Assembly
- Automatonymous.dll
The context of an unhandled event in the state machine
public interface UnhandledEventContext<out TInstance> : EventContext<TInstance>, InstanceContext<TInstance>, PipeContext
Type Parameters
TInstance
- Inherited Members
Properties
CurrentState
The current state of the state machine
State CurrentState { get; }
Property Value
Methods
Ignore()
Returns a Task that ignores the unhandled event
Task Ignore()
Returns
Throw()
Returns a thrown exception task for the unhandled event
Task Throw()