Table of Contents

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

operation IWorkflowOperation

The operation that completed.

foundry IWorkflowFoundry

The workflow foundry.

inputData object

The input data for the operation.

outputData object

The output data from the operation.

duration TimeSpan

The execution duration.

Properties

Duration

Gets the execution duration for this operation.

public TimeSpan Duration { get; }

Property Value

TimeSpan

InputData

Gets the input data for the operation.

public object? InputData { get; }

Property Value

object

Operation

Gets the operation that completed.

public IWorkflowOperation Operation { get; }

Property Value

IWorkflowOperation

OutputData

Gets the output data from the operation.

public object? OutputData { get; }

Property Value

object