ParameterEvaluatorT Class |
Namespace: AGI.Foundation.Infrastructure
public class ParameterEvaluator<T> : IEvaluator<T>, IEvaluator, IAvailability, IThreadAware, ICloneWithContext, IDisposable, IIsTimeVarying
The ParameterEvaluatorT type exposes the following members.
Name | Description | |
---|---|---|
ParameterEvaluatorT(EvaluatorGroup) |
Initializes a new instance.
| |
ParameterEvaluatorT(EvaluatorGroup, T) |
Initializes a new instance with the supplied default value.
| |
ParameterEvaluatorT(ParameterEvaluatorT, CopyContext) | Initializes a new instance as a copy of an existing instance. |
Name | Description | |
---|---|---|
DefaultValue |
Gets the default value provided by this parameter.
This value is only valid if HasDefaultValue is .
| |
Group |
Gets the group that contains this evaluator.
| |
HasDefaultValue |
Gets a value indicating whether this parameter has a default value and is therefore optional.
| |
IsThreadSafe |
Gets a value indicating whether the methods on this instance are safe to call from
multiple threads simultaneously.
| |
IsTimeVarying |
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.
|
Name | Description | |
---|---|---|
Clone |
Clones this object using the specified context.
| |
Dispose |
Releases any resources associated with this instance.
| |
Dispose(Boolean) |
Releases any resources associated with this instance.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Evaluate |
Throws InvalidOperationException. This parameter needs to be
parameterized using an EvaluatorGroup before it can be used.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAvailabilityIntervals |
Gets the intervals over which data is available.
| |
GetCachingWrapper |
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.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsAvailable |
Determines if valid data is available for the given JulianDate.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateEvaluatorReferences |
Updates the evaluator references held by this object using the reference-to-reference
mapping in the specified CopyContext.
|