Class ExecutionContextService
Namespace: Belay.Core.Execution
Assembly: Belay.Core.dll
Thread-safe implementation of execution context service using AsyncLocal.
csharp
public sealed class ExecutionContextService : IExecutionContextService
Inheritance
object ← ExecutionContextService
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties
Gets the current method execution context.
Methods
Clears the current execution context.
SetContext(IMethodExecutionContext)
Sets the current execution context for the current async context.