Interface IAppStateMachineService.IAppStateMachineCreateBuilder
public interface IAppStateMachineService.IAppStateMachineCreateBuilder
Methods
ApplyAsync()
Task<IAppStateMachineService.AppStateMachineCreateResult> ApplyAsync()
Returns
ApplyAsync(CancellationToken)
Task<IAppStateMachineService.AppStateMachineCreateResult> ApplyAsync(CancellationToken cancellationToken)
Parameters
cancellationToken
CancellationToken
Returns
AutoDelete(bool)
Auto-delete state machine when completed suce3ssfully
IAppStateMachineService.IAppStateMachineCreateBuilder AutoDelete(bool autoDelete = true)
Parameters
autoDelete
bool
Returns
GetAwaiter()
TaskAwaiter<IAppStateMachineService.AppStateMachineCreateResult> GetAwaiter()
Returns
MaxStateTransitions(int)
Limit the number of transitions the state machine is allowed to perform, before being declared Faulted
IAppStateMachineService.IAppStateMachineCreateBuilder MaxStateTransitions(int maxTransitions)
Parameters
maxTransitions
intthe number of transitions limit
Returns
SuppressIncidents(bool)
Do not create incidents when state machine fails
IAppStateMachineService.IAppStateMachineCreateBuilder SuppressIncidents(bool suppressIncidents = true)
Parameters
suppressIncidents
bool
Returns
WithDescription(string)
A description of this state machine ( shows in UI )
IAppStateMachineService.IAppStateMachineCreateBuilder WithDescription(string description)
Parameters
description
stringthe description
Returns
WithTag(string)
Add tag to the state machine
IAppStateMachineService.IAppStateMachineCreateBuilder WithTag(string tag)
Parameters
tag
string
Returns
WithTag(string, string?)
Add tag to the state machine
IAppStateMachineService.IAppStateMachineCreateBuilder WithTag(string tag, string? value)
Parameters
Returns
WithTags(IEnumerable<string>)
Add tag to the state machine
IAppStateMachineService.IAppStateMachineCreateBuilder WithTags(IEnumerable<string> tags)
Parameters
tags
IEnumerable<string>
Returns
WithTags(IEnumerable<(string tag, string? value)>)
Add tag to the state machine
IAppStateMachineService.IAppStateMachineCreateBuilder WithTags(IEnumerable<(string tag, string? value)> tags)
Parameters
tags
IEnumerable<(string tag, string value)>