Click or drag to resize

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.1.418.0 (24.1.418.0)
public void AddConstraintFunction(
	AccessConstraintEvaluator evaluator,
	IServiceProvider requiredTimeObserver


Type: AGI.Foundation.AccessAccessConstraintEvaluator
The evaluator for the constraint function to add.
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