AddStateMachine(IServiceCollection)
staticextension
public static IServiceCollection AddStateMachine<TState, TImplementation>(this IServiceCollection services) Registers a custom durable state contract and its state machine implementation.
Parameters
servicesIServiceCollection- The service collection.
Returns
The service collection.
