Click or drag to resize

WindModel.ValidateProperties Method

Validates that required properties and parameters are configured correctly in order to get an evaluator for this instance. Derived classes should call this method when implementing GetEvaluator(EvaluatorGroup, IServiceProvider), as well as validate their own properties.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
protected virtual void ValidateProperties(
	EvaluatorGroup group,
	IServiceProvider serviceProvider
)

Parameters

group
Type: AGI.Foundation.EvaluatorGroup
The group in which to create the evaluator and its dependents.
serviceProvider
Type: System.IServiceProvider
The location to use when calculating the value. This service provider must provide the ILocationPointService service.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when group or serviceProvider is null.
PropertyInvalidException Thrown when the property CentralBody is null.
See Also