ScalarDependentOnServiceProviderGetEvaluator Method (EvaluatorGroup, IServiceProvider) |
Gets an evaluator that can be used to find the value of this scalar function at a given
JulianDate.
Adds the evaluator to the given
EvaluatorGroup.
Namespace:
AGI.Foundation.Geometry
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public abstract ScalarEvaluator GetEvaluator(
EvaluatorGroup group,
IServiceProvider serviceProvider
)
Public MustOverride Function GetEvaluator (
group As EvaluatorGroup,
serviceProvider As IServiceProvider
) As ScalarEvaluator
public:
virtual ScalarEvaluator^ GetEvaluator(
EvaluatorGroup^ group,
IServiceProvider^ serviceProvider
) abstract
abstract GetEvaluator :
group : EvaluatorGroup *
serviceProvider : IServiceProvider -> ScalarEvaluator
Parameters
- group
- Type: AGI.FoundationEvaluatorGroup
The group with which to associate the new evaluator. By grouping evaluators
that are often evaluated at the same Julian dates, common computations can be performed only once
for the entire group instead of multiple times for each evaluator.
- serviceProvider
- Type: SystemIServiceProvider
The service provider to use when calculating the value. The specific service or services that this
service provider must provide can vary depending on the derived class implementation.
Return Value
Type:
ScalarEvaluatorAn evaluator for this scalar function.
Exceptions See Also