Click or drag to resize

AccessQueryAnd Class

An AccessQuery which is a logical AND of two or more sub-queries. This query will only be considered satisfied when all sub-queries are satisfied.
Inheritance Hierarchy

Namespace:  AGI.Foundation.Access
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public sealed class AccessQueryAnd : AccessQuery, 
	ICompositeAccessQuery

The AccessQueryAnd type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDebuggingLogger
Gets or sets a logger to which debugging information will be written.
(Inherited from AccessQuery.)
Public propertyIsFrozen
Gets a value indicating whether this object is frozen. A frozen object cannot be modified and an ObjectFrozenException will be thrown if an attempt is made to do so.
(Inherited from DefinitionalObject.)
Public propertyQueries
Gets the collection of sub-queries.
Top
Methods
  NameDescription
Public methodClone
Clones this object using the specified context.
(Overrides DefinitionalObjectClone(CopyContext).)
Public methodEnumerateDependencies
Enumerates the dependencies of this object by calling EnumerateT(T) for each object that this object directly depends upon. Derived classes which contain additional dependencies MUST override this method, call the base implementation, and enumerate dependencies introduced by the derived class.
(Overrides DefinitionalObjectEnumerateDependencies(DependencyEnumerator).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFreeze
Freezes this object. Further attempts to modify it will result in an ObjectFrozenException.
(Inherited from DefinitionalObject.)
Public methodGetDefinitionHashCode
Gets a hash code representing the definition of this object.
(Inherited from DefinitionalObject.)
Public methodGetEvaluationOrder
Gets the suggested evaluation order of this query, which is a function of the evaluation orders of the queries in this query's Queries collection. The evaluation order is computed by sorting the sub-queries by their evaluation orders (lowest first). Then starting with the first sub-query's evaluation order, it adds half of the subsequent sub-query's evaluation order to it. Next it will add a quarter of the following sub-query's evaluation order, and so on. Each time it adds a fraction of each subsequent sub-query's evaluation order. This fraction starts as one half and is raised to a power dependent upon the order of the sub-query in the sorted array of queries (e.g. ½^0 for the first, ½^1 for the second, and ½^2 for the third).
(Overrides AccessQueryGetEvaluationOrder.)
Public methodGetEvaluator
Gets an evaluator that can be used to evaluate this query for a given time or for intervals of time.
(Inherited from AccessQuery.)
Public methodGetEvaluator(IServiceProvider)
Gets an evaluator that can be used to evaluate this query for a given time or for intervals of time.
(Inherited from AccessQuery.)
Public methodGetEvaluator(IServiceProvider, EvaluatorGroup)
Gets an evaluator that can be used to evaluate this query for a given time or for intervals of time.
(Overrides AccessQueryGetEvaluator(IServiceProvider, EvaluatorGroup).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsSameDefinition
Determines if this object has the same definition as another object.
(Inherited from DefinitionalObject.)
Public methodToDisjunctiveNormalForm
Transforms this query to disjunctive normal form (DNF).
(Overrides AccessQueryToDisjunctiveNormalForm.)
Public methodToString
Returns a string which represents the current object.
(Overrides ObjectToString.)
Top
See Also