Click or drag to resize

ConstantParameterizedEvaluator1TParameter1, TResult Class

An evaluator that takes a JulianDate and one additional parameter and produces a constant return value of a given type, ignoring all parameters.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.InfrastructureParameterizedEvaluator1TParameter1, TResult
    AGI.Foundation.InfrastructureConstantParameterizedEvaluator1TParameter1, TResult

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public sealed class ConstantParameterizedEvaluator1<TParameter1, TResult> : ParameterizedEvaluator1<TParameter1, TResult>

Type Parameters

TParameter1
The type of the first parameter.
TResult
The type of the result.

The ConstantParameterizedEvaluator1TParameter1, TResult type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAvailabilityIntervals
Gets a TimeIntervalCollection over which data is available. If the availability interval is infinite, this returns Infinite.
(Inherited from ParameterizedEvaluator1TParameter1, TResult.)
Public propertyGroup
Gets the group that contains this evaluator.
(Inherited from ParameterizedEvaluator1TParameter1, TResult.)
Public propertyIsThreadSafe
Gets a value indicating whether the methods on this instance are safe to call from multiple threads simultaneously.
(Overrides ParameterizedEvaluator1TParameter1, 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 ParameterizedEvaluator1TParameter1, TResultIsTimeVarying.)
Top
Methods
  NameDescription
Public methodClone
Clones this object using the specified context.
(Overrides ParameterizedEvaluator1TParameter1, TResultClone(CopyContext).)
Public methodDispose
Releases any resources associated with this instance.
(Inherited from ParameterizedEvaluator1TParameter1, TResult.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Evaluates this parameterized evaluator.
(Overrides ParameterizedEvaluator1TParameter1, TResultEvaluate(JulianDate, TParameter1).)
Public methodGetAvailabilityIntervals
Gets the intervals over which data is available.
(Overrides ParameterizedEvaluator1TParameter1, 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 ParameterizedEvaluator1TParameter1, 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 ParameterizedEvaluator1TParameter1, 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 ParameterizedEvaluator1TParameter1, TResultUpdateEvaluatorReferences(CopyContext).)
Top
See Also