QueryDataProducerBase<TResult,TOutputProviderState> Class

Definition

Provides shared implementation among different type of IQueryDataProducer<TResult> which passes provider state to the next level data providers.

C#
[System.Runtime.CompilerServices.Nullable(0)]
public abstract class QueryDataProducerBase<TResult,TOutputProviderState> : Microsoft.VisualStudio.ProjectSystem.Query.Execution.IQueryDataProducer<TResult>

Type Parameters

TResult

The type of the result data from this query step.

TOutputProviderState

The process state allowing further producer to work.

Inheritance
QueryDataProducerBase<TResult,TOutputProviderState>
Attributes
Implements

Constructors

Properties

ResultZone

Gets whether the data zone the result belongs to.

Methods

LinkTo(IQueryResultReceiver<TResult>)
NotifyRequestProcessFinishedAsync(IQueryProcessRequest)

Tells that the data producer finished all processing for one request.

PublishResultAsync(TResult, TOutputProviderState, IQueryProcessRequest, String)

Sends out a piece of the result from the data provider.

PublishResultAsync(TResult, TOutputProviderState, IQueryProcessRequest)

Sends out a piece of the result from the data provider.

Applies to

Product Versions
Visual Studio SDK 2022