Click or drag to resize

ICachingEvaluator Interface

An interface to an evaluator that caches values between evaluations.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public interface ICachingEvaluator : IEvaluator, 
	IAvailability, IThreadAware, ICloneWithContext, IDisposable

The ICachingEvaluator type exposes the following members.

Properties
  NameDescription
Public propertyGroup
Gets the group that contains this evaluator.
(Inherited from IEvaluator.)
Public propertyIsThreadSafe
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously.
(Inherited from IThreadAware.)
Top
Methods
  NameDescription
Public methodClearCache
Clears any values cached by this evaluator.
Public methodClone
Clones this object using the specified context.
(Inherited from ICloneWithContext.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetAvailabilityIntervals
Gets the intervals over which data is available.
(Inherited from IAvailability.)
Public methodGetCachingWrapper
Gets a version of this evaluator that caches the previously computed value so that if it is evaluated twice at the same date the computation is done only once.
(Inherited from IEvaluator.)
Public methodIsAvailable
Determines if valid data is available for the given JulianDate.
(Inherited from IAvailability.)
Public methodCode exampleUpdateEvaluatorReferences
Updates the evaluator references held by this object using the reference-to-reference mapping in the specified CopyContext.
(Inherited from IEvaluator.)
Top
See Also