Class OperationRestoreCompletedEventArgs
- Namespace
- WorkflowForge.Events
- Assembly
- WorkflowForge.dll
Event arguments for operation restore completed events. Fired when an operation's restoration (compensation/rollback) completes successfully.
public sealed class OperationRestoreCompletedEventArgs : BaseWorkflowForgeEventArgs
- Inheritance
-
OperationRestoreCompletedEventArgs
- Inherited Members
Constructors
OperationRestoreCompletedEventArgs(IWorkflowOperation, IWorkflowFoundry, TimeSpan)
Initializes a new instance of the OperationRestoreCompletedEventArgs class.
public OperationRestoreCompletedEventArgs(IWorkflowOperation operation, IWorkflowFoundry foundry, TimeSpan duration)
Parameters
operationIWorkflowOperationThe operation that was restored.
foundryIWorkflowFoundryThe workflow foundry.
durationTimeSpanThe restoration duration.
Properties
CompletedAt
Gets the timestamp when restoration completed.
public DateTimeOffset CompletedAt { get; }
Property Value
Duration
Gets the restoration duration.
public TimeSpan Duration { get; }
Property Value
Operation
Gets the operation that was restored.
public IWorkflowOperation Operation { get; }