Click or drag to resize

AccessConstraintEvaluatorGetQueryEvaluator Method

Creates and returns an AccessEvaluator wrapping a given constraint evaluator.

Namespace:  AGI.Foundation.Access
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.1.398.0 (19.1.398.0)
public AccessEvaluator GetQueryEvaluator(
	IServiceProvider inputTimeObserver,
	AccessConstraint constraint,
	IServiceProvider requiredTimeObserver,
	EvaluatorGroup group


Type: SystemIServiceProvider
The IServiceProvider to use as a time observer in creating this query evaluator. Input times to be evaluated will be with respect to this observer, and this method will adjust the times as necessary for the constraint's requiredTimeObserver.
Type: AGI.Foundation.AccessAccessConstraint
The constraint being evaluated.
Type: SystemIServiceProvider
The time observer that is required by the constraint function. This method will attempt to reconcile the constraint's requested time observer against the IServiceProvider specified in inputTimeObserver.
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.

Return Value

Type: AccessEvaluator
The evaluator.
ArgumentNullException Thrown when constraint or group is .
See Also