ConstraintQueryBuilderAddConstraintFunction Method (AccessConstraintEvaluator, IServiceProvider) |
Adds a constraint function to the query. Times passed to the evaluator will be expressed
on the given participant.
Namespace:
AGI.Foundation.Access
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public void AddConstraintFunction(
AccessConstraintEvaluator evaluator,
IServiceProvider requiredTimeObserver
)
Public Sub AddConstraintFunction (
evaluator As AccessConstraintEvaluator,
requiredTimeObserver As IServiceProvider
)
public:
void AddConstraintFunction(
AccessConstraintEvaluator^ evaluator,
IServiceProvider^ requiredTimeObserver
)
member AddConstraintFunction :
evaluator : AccessConstraintEvaluator *
requiredTimeObserver : IServiceProvider -> unit
Parameters
- evaluator
- Type: AGI.Foundation.AccessAccessConstraintEvaluator
The evaluator for the constraint function to add. - requiredTimeObserver
- Type: SystemIServiceProvider
The participant on which times passed to the evaluator should be expressed. For a constraint
that implements ISingleObjectConstraint, this parameter must be
or the same as ConstrainedObject. For a constraint that implements
ILinkConstraint, this parameter must be or the same as one of the
two ends of the ConstrainedLink.
If this parameter is , this method is identical to
AddConstraintFunction(AccessConstraintEvaluator).
See Also