Class ExecutionContextAccessor
- Namespace
- FlowOrchestrator.Core.Execution
- Assembly
- FlowOrchestrator.Core.dll
Default scoped implementation of IExecutionContextAccessor. One instance per DI scope (one per Hangfire job), populated immediately before step handler invocation.
public sealed class ExecutionContextAccessor : IExecutionContextAccessor
- Inheritance
-
ExecutionContextAccessor
- Implements
- Inherited Members
Properties
CurrentContext
The context for the currently executing step, or null when accessed outside of an active step execution scope.
public IExecutionContext? CurrentContext { get; set; }