Click or drag to resize

ConstantParameterizedEvaluator2TParameter1, TParameter2, TResult Class

An evaluator that takes a JulianDate and two additional parameters and produces a constant return value of a given type, ignoring all parameters.
Inheritance Hierarchy
  AGI.Foundation.InfrastructureParameterizedEvaluator2TParameter1, TParameter2, TResult
    AGI.Foundation.InfrastructureConstantParameterizedEvaluator2TParameter1, TParameter2, TResult

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
public sealed class ConstantParameterizedEvaluator2<TParameter1, TParameter2, TResult> : ParameterizedEvaluator2<TParameter1, TParameter2, TResult>

Type Parameters

The type of the first parameter.
The type of the second parameter.
The type of the result.

The ConstantParameterizedEvaluator2TParameter1, TParameter2, TResult type exposes the following members.

Public propertyAvailabilityIntervals
Gets a TimeIntervalCollection over which data is available. If the availability interval is infinite, this returns Infinite.
(Inherited from ParameterizedEvaluator2TParameter1, TParameter2, TResult.)
Public propertyGroup
Gets the group that contains this evaluator.
(Inherited from ParameterizedEvaluator2TParameter1, TParameter2, TResult.)
Public propertyIsThreadSafe
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously.
(Overrides ParameterizedEvaluator2TParameter1, TParameter2, TResultIsThreadSafe.)
Public propertyIsTimeVarying
Gets a value indicating whether or not the value of this evaluator changes with time. If , the evaluator is assumed to return the same value for any input JulianDate.
(Overrides ParameterizedEvaluator2TParameter1, TParameter2, TResultIsTimeVarying.)
Public methodClone
Clones this object using the specified context.
(Overrides ParameterizedEvaluator2TParameter1, TParameter2, TResultClone(CopyContext).)
Public methodDispose
Releases any resources associated with this instance.
(Inherited from ParameterizedEvaluator2TParameter1, TParameter2, TResult.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Evaluates this parameterized evaluator.
(Overrides ParameterizedEvaluator2TParameter1, TParameter2, TResultEvaluate(JulianDate, TParameter1, TParameter2).)
Public methodGetAvailabilityIntervals
Gets the intervals over which data is available.
(Overrides ParameterizedEvaluator2TParameter1, TParameter2, TResultGetAvailabilityIntervals(TimeIntervalCollection).)
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.
(Overrides ParameterizedEvaluator2TParameter1, TParameter2, TResultGetCachingWrapper.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsAvailable
Determines if valid data is available for the given JulianDate.
(Overrides ParameterizedEvaluator2TParameter1, TParameter2, TResultIsAvailable(JulianDate).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodCode exampleUpdateEvaluatorReferences
Updates the evaluator references held by this object using the reference-to-reference mapping in the specified CopyContext.
(Overrides ParameterizedEvaluator2TParameter1, TParameter2, TResultUpdateEvaluatorReferences(CopyContext).)
See Also