Click or drag to resize

ConstraintQueryBuilder Class

This type is used to build an AccessQuery from a single constraint by assembling all of the individual functions that make up the constraint.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.AccessConstraintQueryBuilder

Namespace:  AGI.Foundation.Access
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public class ConstraintQueryBuilder

The ConstraintQueryBuilder type exposes the following members.

Constructors
  NameDescription
Public methodConstraintQueryBuilder
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyEvaluators
Gets the list of evaluators that are part of this constraint query. To add a constraint evaluator to the list, call AddConstraintFunction(AccessConstraintEvaluator, IServiceProvider).
Public propertyInputTimeObserver
Gets or sets the IServiceProvider to use as the time observer for this query. Inputs into this query will be adjusted as necessary for the time observers of the constraints in the query.
Public propertyRequiredTimeObservers
Gets the list of time observers required by each evaluator in this constraint query. There will be one item in this list for each item in Evaluators.
Top
Methods
  NameDescription
Public methodAddConstraintFunction(AccessConstraintEvaluator)
Adds a constraint function to the query. Times passed to the evaluator will be expressed on the default participant for the constraint.
Public methodAddConstraintFunction(AccessConstraintEvaluator, IServiceProvider)
Adds a constraint function to the query. Times passed to the evaluator will be expressed on the given participant.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also