Class OperationCompletedEventArgs
- Namespace
- WorkflowForge.Events
- Assembly
- WorkflowForge.dll
Event arguments for operation completed events. Fired when an operation completes successfully.
public sealed class OperationCompletedEventArgs : BaseWorkflowForgeEventArgs
- Inheritance
-
OperationCompletedEventArgs
- Inherited Members
Constructors
OperationCompletedEventArgs(IWorkflowOperation, IWorkflowFoundry, object?, object?, TimeSpan)
Initializes a new instance of the OperationCompletedEventArgs class.
public OperationCompletedEventArgs(IWorkflowOperation operation, IWorkflowFoundry foundry, object? inputData, object? outputData, TimeSpan duration)
Parameters
operationIWorkflowOperationThe operation that completed.
foundryIWorkflowFoundryThe workflow foundry.
inputDataobjectThe input data for the operation.
outputDataobjectThe output data from the operation.
durationTimeSpanThe execution duration.
Properties
Duration
Gets the execution duration for this operation.
public TimeSpan Duration { get; }
Property Value
InputData
Gets the input data for the operation.
public object? InputData { get; }
Property Value
Operation
Gets the operation that completed.
public IWorkflowOperation Operation { get; }
Property Value
OutputData
Gets the output data from the operation.
public object? OutputData { get; }