Click or drag to resize

ThreadStaticCalculationContextStorageStrategy Class

An ICalculationContextStorageStrategy that gets the context from a thread static member variable. Thus, each thread has its own context.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.InfrastructureThreadStaticCalculationContextStorageStrategy

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public class ThreadStaticCalculationContextStorageStrategy : ICalculationContextStorageStrategy

The ThreadStaticCalculationContextStorageStrategy type exposes the following members.

Constructors
  NameDescription
Public methodThreadStaticCalculationContextStorageStrategy
Initializes a new instance.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetContext
Gets the CalculationContext for the current thread.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetContext
Sets the CalculationContext for the current thread.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also