XPQueryExtensions Members
Provides extension methods to work with XPQuery<T> objects.
#Methods
Name | Description |
---|---|
All |
Asynchronously checks whether all objects in a selection meet specific requirements. |
Any |
Asynchronously checks whether any object in a selection meets specific requirements. |
Any |
Asynchronously checks whether any objects exist in a selection. |
Average |
Asynchronously calculates an average of objects’ specific Int64 fields for a query. |
Average |
Asynchronously calculates an average of objects’ specific Double fields for a query. |
Average |
Asynchronously calculates an average of objects’ specific Int32 fields, for a query. |
Average |
Asynchronously calculates an average of objects’ specific Int64 fields for a query. |
Average |
Asynchronously calculates an average of objects’ specific Single fields for a query. |
Average |
Asynchronously calculates an average of objects’ specific Decimal fields for a query. Uses a lambda expression to obtain values. |
Average |
Asynchronously calculates an average of objects’ specific Double fields for a query. Uses a lambda expression to obtain values. |
Average |
Asynchronously calculates an average of objects’ specific Int32 fields for a query. Uses a lambda expression to obtain values. |
Average |
Asynchronously calculates an average of objects’ specific Int64 fields for a query. Uses a lambda expression to obtain values. |
Average |
Asynchronously calculates an average of objects’ specific Decimal fields for a query. Uses a lambda expression to obtain values. |
Cached |
For internal use. |
Cached |
For internal use. |
Cached |
For internal use. |
Cached |
For internal use. |
Cached |
For internal use. |
Cached |
For internal use. |
Contains |
Asynchronously checks whether a specific object exists in a selection. |
Count |
Asynchronously counts the number of objects that meet specific requirements in a specified selection. |
Count |
Asynchronously counts the number of objects in a selection. |
Custom |
|
Custom |
|
Custom |
|
Custom |
|
Element |
Asynchronously gets an object that has a specific index in a selection. |
Element |
Asynchronously gets an object that has a specific index in a selection. If the index is not valid, returns a default value for <T>. |
Enumerate |
Asynchronously enumerates a specified query and notifies upon completion. |
Enumerate |
Asynchronously enumerates a specified query and notifies upon completion. |
Enumerate |
Asynchronously enumerates a specified query. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
First |
Asynchronously gets the first object that meets specified requirements in a selection. Throws an exception for empty selections. |
First |
Asynchronously gets the first object in a selection. Throws an exception for empty selections. |
First |
Asynchronously gets the first object that meets specified requirements in a selection. If the selection is empty, returns a default value for <T>. |
First |
Asynchronously gets the first object in a selection. If the selection is empty, returns a default value for <T>. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Last |
Asynchronously gets the last object that meets specified requirements in a selection. Throws an exception for empty selections. |
Last |
Asynchronously gets the last object in a selection. Throws an exception for empty selections. |
Last |
Asynchronously gets the last object that meets specified requirements in a selection. If the selection is empty, returns a default value for <T>. |
Last |
Asynchronously gets the last object in a selection. If the selection is empty, returns a default value for <T>. |
Long |
Asynchronously counts the number of objects that meet specific requirements in a specified selection. |
Long |
Asynchronously counts the number of objects in a selection. |
Max |
Asynchronously gets the maximum value from a specified query. |
Max |
Asynchronously gets the maximum value from a specified query. Uses a lambda expression to obtain values. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Min |
Asynchronously gets the minimum value from a specified query. |
Min |
Asynchronously gets the minimum value from a specified query. Uses a lambda expression to obtain values. |
Query |
Creates a new XPQuery |
Query |
Creates a new XPQuery |
Query |
Creates a new XPQuery |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Single |
Asynchronously gets the object from a selection if only one object in the selection meets the specified requirements. Otherwise, throws an exception. |
Single |
Asynchronously gets the object from a selection if this selection has only one object. Otherwise, throws an exception. |
Single |
Asynchronously gets the object from a selection if only one object in the selection meets the specified requirements. If the selection is empty, returns a default value for <T>. If the selection has more than one of such elements, throws an exception. |
Single |
Asynchronously gets the only object in a selection. If the selection is empty, returns a default value for <T>. If the selection has more than one element, throws an exception. |
Sum |
Asynchronously calculates a sum of objects’ specific Decimal fields for a query. |
Sum |
Asynchronously calculates a sum of objects’ specific Double fields for a query. |
Sum |
Asynchronously calculates a sum of objects’ specific Int32 fields for a query. |
Sum |
Asynchronously calculates a sum of objects’ specific Int64 fields for a query. |
Sum |
Asynchronously calculates a sum of objects’ specific nullable Decimal fields for a query. |
Sum |
Asynchronously calculates a sum of objects’ specific nullable Double fields for a query. |
Sum |
Asynchronously calculates a sum of objects’ specific nullable Int32 fields for a query. |
Sum |
Asynchronously calculates a sum of objects’ specific nullable Int64 fields for a query. |
Sum |
Asynchronously calculates a sum of objects’ specific nullable Single fields for a query. |
Sum |
Asynchronously calculates a sum of objects’ specific Single fields for a query. |
Sum |
Asynchronously calculates a sum of objects’ specific Int64 fields for a query. Uses a lambda expression to obtain values. |
Sum |
Asynchronously calculates a sum of objects’ specific Double fields for a query. Uses a lambda expression to obtain values. |
Sum |
Asynchronously calculates a sum of objects’ specific Int32 fields for a query. Uses a lambda expression to obtain values. |
Sum |
Asynchronously calculates a sum of objects’ specific Int64 fields, for a query. Uses a lambda expression to obtain values. |
Sum |
Asynchronously calculates a sum of objects’ specific nullable Decimal fields for a query. Uses a lambda expression to obtain values. |
Sum |
Asynchronously calculates a sum of objects’ specific nullable Double fields for a query. Uses a lambda expression to obtain values. |
Sum |
Asynchronously calculates a sum of objects’ specific nullable Int32 fields for a query. Uses a lambda expression to obtain values. |
Sum |
Asynchronously calculates a sum of objects’ specific nullable Int64 fields for a query. Uses a lambda expression to obtain values. |
Sum |
Asynchronously calculates a sum of objects’ specific nullable Single fields for a query. Uses a lambda expression to obtain values. |
Sum |
Asynchronously calculates a sum of objects’ specific Decimal fields for a query. Uses a lambda expression to obtain values. |
To |
Asynchronously enumerates all objects in a query and saves them to an array. |
To |
Asynchronously enumerates a query and uses a key selector and an element selector to construct a Dictionary |
To |
Asynchronously enumerates a query and uses a key selector to construct a Dictionary |
To |
Asynchronously enumerates a query and uses a key selector, an element selector, and a comparer to construct a Dictionary |
To |
Asynchronously enumerates a query and uses a key selector and an element selector to construct a Dictionary |
To |
Asynchronously enumerates all elements in a query and saves them to a list. |
To |
Asynchronously enumerates a query and uses a key selector and a comparer to construct a Lookup |
To |
Asynchronously enumerates a query and uses a key selector to construct a Lookup |
To |
Asynchronously enumerates a query and uses a key selector, an element selector and an comparer to construct a Lookup |
To |
Asynchronously enumerates a query and uses a key selector and an element selector to construct a Lookup |
To |
Returns a string that represents the current object. Inherited from Object. |