Click or drag to resize

ThreadStaticCalculationContextStorageStrategy.GetContext Method

Gets the CalculationContext for the current thread.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public CalculationContext GetContext()

Return Value

Type: CalculationContext
The calculation context.

Implements

ICalculationContextStorageStrategy.GetContext()
Remarks
If the thread does not yet have a CalculationContext, the DefaultForNewContexts is used.
See Also