Namespace Trellis.StateMachine
Classes
- LazyStateMachine<TState, TTrigger>
A lazy wrapper around Stateless.StateMachine<TState, TTrigger> that defers machine construction until first use, solving the EF Core materialization problem.
- StateMachineExtensions
Provides extension methods for Stateless.StateMachine<TState, TTrigger> that return Result<TValue> instead of throwing on invalid transitions.