IAsyncQueryable<TEntity> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides functionality to evaluate queries against the project system API model.
public interface IAsyncQueryable<TEntity> : Microsoft.VisualStudio.ProjectSystem.Query.IAsyncQueryable, System.Collections.Generic.IEnumerable<TEntity>, System.Collections.Generic.IReadOnlyCollection<TEntity>
type IAsyncQueryable<'Entity> = interface
interface IAsyncQueryable
interface IReadOnlyCollection<'Entity>
interface seq<'Entity>
interface IEnumerable
Public Interface IAsyncQueryable(Of TEntity)
Implements IAsyncQueryable, IEnumerable(Of TEntity), IReadOnlyCollection(Of TEntity)
Type Parameters
- TEntity
The type of items in the query result.
- Implements
Methods
QueryAsync(CancellationToken) |
Starts a query and receive results asynchronously. Note: the result can only be accessed once, and cannot be reset. |
QueryAsync(ICommonQueryableSpace, CancellationToken) |
Starts a query and receive results asynchronously. Note: the result can only be accessed once, and cannot be reset. |
SubscribeAsync(ICommonQueryableSpace, IObserver<IQueryResults<TEntity>>) |
Subscribes results from a query, which automatically reruns when data source is changed. |
SubscribeAsync(ICommonQueryableSpace, IObserver<IQueryResults<TEntity>>, CancellationToken) |
Subscribes results from a query, which automatically reruns when data source is changed. |
SubscribeAsync(IObserver<IQueryResults<TEntity>>) |
Subscribes results from a query, which automatically reruns when data source is changed. |
SubscribeAsync(IObserver<IQueryResults<TEntity>>, CancellationToken) |
Subscribes results from a query, which automatically reruns when data source is changed. |
TrackUpdatesAsync(IObserver<IQueryTrackUpdates<TEntity>>, CancellationToken) |
Tracks a query, which automatically reruns when the data source is changed. |
Extension Methods
AsUpdatable<TEntity>(IAsyncQueryable<TEntity>) |
Initialize an update action. |
Get<TSource,TResult>(IAsyncQueryable<TSource>, Expression<Func<TSource,IAsyncQueryable<TResult>>>) |
Gets a child collection to be returned from the query. |
Take<TEntity>(IAsyncQueryable<TEntity>, Int32) | |
Where<TEntity>(IAsyncQueryable<TEntity>, Expression<Func<TEntity,Boolean>>) |
Filters a sequence of values based on a predicate. |
With<TEntity>(IAsyncQueryable<TEntity>, Expression<Func<TEntity,IAsyncQueryable>>) |
Include a child collection in the query result. |
With<TEntity>(IAsyncQueryable<TEntity>, Expression<Func<TEntity,IAsyncQueryable>>, Boolean) |
Obsolete.
Include a child collection in the query result. |
With<TEntity>(IAsyncQueryable<TEntity>, Expression<Func<TEntity,Object>>) |
Include a specific property in the query result. |
WithRequired<TEntity>(IAsyncQueryable<TEntity>, Expression<Func<TEntity,IAsyncQueryable>>) |
Include a non-empty child collection in the query result. |