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: 24.1.418.0 (24.1.418.0)
Syntax
public AccessEvaluator GetQueryEvaluator(
	IServiceProvider inputTimeObserver,
	AccessConstraint constraint,
	IServiceProvider requiredTimeObserver,
	EvaluatorGroup group
)

Parameters

inputTimeObserver
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.
constraint
Type: AGI.Foundation.AccessAccessConstraint
The constraint being evaluated.
requiredTimeObserver
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.
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.

Return Value

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