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.3.420.0 (24.3.420.0)
Syntax public AccessEvaluator GetQueryEvaluator(
IServiceProvider inputTimeObserver,
AccessConstraint constraint,
IServiceProvider requiredTimeObserver,
EvaluatorGroup group
)
Public Function GetQueryEvaluator (
inputTimeObserver As IServiceProvider,
constraint As AccessConstraint,
requiredTimeObserver As IServiceProvider,
group As EvaluatorGroup
) As AccessEvaluator
public:
AccessEvaluator^ GetQueryEvaluator(
IServiceProvider^ inputTimeObserver,
AccessConstraint^ constraint,
IServiceProvider^ requiredTimeObserver,
EvaluatorGroup^ group
)
member GetQueryEvaluator :
inputTimeObserver : IServiceProvider *
constraint : AccessConstraint *
requiredTimeObserver : IServiceProvider *
group : EvaluatorGroup -> AccessEvaluator
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:
AccessEvaluatorThe evaluator.
Exceptions See Also