27 this.NewState = e.NewState;
40 StringBuilder sb =
new();
42 sb.Append(
ServiceRef.
Localizer[nameof(AppResources.StateChangedTo), this.NewState ??
string.Empty]);
44 sb.Append(await base.GetDescription());
Contains information about a change in a state-machine associated with a token.
StateMachineNewStateNotificationEvent()
Contains information about a change in a state-machine associated with a token.
override async Task< string > GetDescription()
Gets a descriptive text for the event.
StateMachineNewStateNotificationEvent(NewStateEventArgs e)
Contains information about a change in a state-machine associated with a token.
string? NewState
New state of state-machine.
Abstract base class for token notification events.
Base class that references services in the app.
static IStringLocalizer Localizer
Localization service