Click or drag to resize

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
)

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: ScalarEvaluator
An evaluator for this scalar function.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when group or serviceProvider is .
See Also