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.1.418.0 (24.1.418.0)
public abstract ScalarEvaluator GetEvaluator(
	EvaluatorGroup group,
	IServiceProvider serviceProvider


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.
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.
ArgumentNullException Thrown when group or serviceProvider is .
See Also