Click or drag to resize

SimpleCruisePerformanceModel.GetEvaluator Method (EvaluatorGroup, IServiceProvider)

Gets an evaluator for the commanded values during cruise for a given aircraft.

Namespace:  AGI.Foundation.AircraftPropagation
Assembly:  AGI.Foundation.AircraftPropagation (in AGI.Foundation.AircraftPropagation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public override Evaluator<CruiseCommandedValues> GetEvaluator(
	EvaluatorGroup group,
	IServiceProvider serviceProvider
)

Parameters

group
Type: AGI.Foundation.EvaluatorGroup
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: System.IServiceProvider
A service provider which must provide the ILocationPointService service.

Return Value

Type: Evaluator<CruiseCommandedValues>
An evaluator for the commanded values.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when group or serviceProvider is null.
PropertyInvalidException Thrown when the property Airspeed or FuelFlowRate is null.
See Also