Table of Contents

Class BaseWorkflowForgeEventArgs

Namespace
WorkflowForge.Abstractions
Assembly
WorkflowForge.dll

Base class for all WorkflowForge event arguments. Provides common properties shared across workflow and operation events.

public abstract class BaseWorkflowForgeEventArgs : EventArgs
Inheritance
BaseWorkflowForgeEventArgs
Derived
Inherited Members

Constructors

BaseWorkflowForgeEventArgs(IWorkflowFoundry, DateTimeOffset?)

Initializes a new instance of the BaseWorkflowForgeEventArgs class.

protected BaseWorkflowForgeEventArgs(IWorkflowFoundry foundry, DateTimeOffset? timestamp = null)

Parameters

foundry IWorkflowFoundry

The workflow foundry.

timestamp DateTimeOffset?

The timestamp when the event occurred. If not provided, uses current UTC time.

Properties

Foundry

Gets the workflow foundry for the execution context.

public IWorkflowFoundry Foundry { get; }

Property Value

IWorkflowFoundry

Timestamp

Gets the timestamp when the event occurred.

public DateTimeOffset Timestamp { get; }

Property Value

DateTimeOffset