public class CalculationContext : IThreadAware, ICloneWithContext
Public Class CalculationContext Implements IThreadAware, ICloneWithContext
public ref class CalculationContext : IThreadAware, ICloneWithContext
type CalculationContext = class interface IThreadAware interface ICloneWithContext end
Thetype exposes the following members.
Initializes a new calculation context with default facets.
Initializes a new instance as a copy of an existing instance.
Gets or sets the strategy that is used to store calculation contexts. The default strategy ensures that each thread has its own context.
Gets or sets the calculation context to use for contexts that do not yet have a calculation context. When using the default CalculationContextStorageStrategy, a context is a thread so this property specifies the calculation context that will be used for new threads that do not yet have a .
Gets or sets the current calculation context. By default, each thread has its own context.
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously.
Adds a facet to the context.
Clones this object using the specified context.
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Gets the facet with the given Id.
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the next available facet ID. Each time this method is called a unique ID is returned. It is safe to call this method from multiple threads simultaneously.
Gets the Type of the current instance.(Inherited from Object.)
Creates a shallow copy of the current Object.(Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)