Click or drag to resize

AccessQueryAtMostN Class

An AccessQuery that requires that no more than N of a list of sub-queries be satisfied in order to be considered satisfied itself.
Inheritance Hierarchy

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

The AccessQueryAtMostN 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 propertyN
Gets or sets the number of Queries that must be satisfied in order for this query to be satisfied.
Public propertyQueries
Gets the collection of queries, at most N of which can be satisfied in order for this query to be satisfied.
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 by adding up the evaluation orders of this query's sub-queries, as returned by their GetEvaluationOrder methods.
(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