Class Flow
public class Flow : FlowBase, IDisposable
- Inheritance
-
Flow
- Implements
- Inherited Members
Constructors
Flow()
Default constructor
public Flow()
Properties
CalculateTotalTimeoutForStartup
public int CalculateTotalTimeoutForStartup { get; }
Property Value
DisableQueues
If true no channels will be used for queueing messages internally in the module Persistence and retry will also be disabled if queues are disabled
public bool DisableQueues { get; set; }
Property Value
EnabledModules
[JsonIgnore]
public IEnumerable<FlowModule> EnabledModules { get; }
Property Value
FlowContext
Context for the flow
[JsonIgnore]
public RepositoryInstance<string, dynamic> FlowContext { get; }
Property Value
- RepositoryInstance<string, dynamic>
FlowState
Current FlowState of the flow
public virtual FlowState FlowState { get; set; }
Property Value
- FlowState
HaltOnError
If true the flow will be stopped if an error occurs
public bool HaltOnError { get; set; }
Property Value
IsCancellationRequested
public bool IsCancellationRequested { get; }
Property Value
Modules
[JsonConverter(typeof(FlowModuleJsonConverter))]
public List<FlowModule> Modules { get; set; }
Property Value
OnFlowException
[JsonIgnore]
public EventHandler<FlowException>? OnFlowException { get; set; }
Property Value
OnMessageDeadLetter
[JsonIgnore]
public EventHandler<MessageEvent>? OnMessageDeadLetter { get; set; }
Property Value
OnMessageDropped
[JsonIgnore]
public EventHandler<MessageEvent>? OnMessageDropped { get; set; }
Property Value
OnModuleDebugMessage
[JsonIgnore]
public EventHandler<ModuleDebugMessage>? OnModuleDebugMessage { get; set; }
Property Value
- EventHandler<ModuleDebugMessage>
OnModuleStatusChanged
[JsonIgnore]
public EventHandler<ModuleStatusEvent>? OnModuleStatusChanged { get; set; }
Property Value
RemoteSessionEnabled
True when debug data should be sent to cloud
[JsonIgnore]
public bool RemoteSessionEnabled { get; }
Property Value
Resources
The resources used on the flow
public List<ResourceBase> Resources { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposingbool
EnableRemoteSession()
public void EnableRemoteSession()
Start()
public Task<IResult> Start()
Returns
- Task<IResult>
StartInteractive()
public Task<IResult> StartInteractive()
Returns
- Task<IResult>
Stop()
public Task<IResult> Stop()
Returns
- Task<IResult>
ValidateFlow()
public IResult<IList<IValidationError>> ValidateFlow()
Returns
- IResult<IList<IValidationError>>