Partager via


QueryDataProducerBase<TResult,TOutputProviderState> Class

Definition

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

[System.Runtime.CompilerServices.Nullable(0)]
public abstract class QueryDataProducerBase<TResult,TOutputProviderState> : Microsoft.VisualStudio.ProjectSystem.Query.Execution.IQueryDataProducer<TResult>
[<System.Runtime.CompilerServices.Nullable(0)>]
type QueryDataProducerBase<'Result, 'OutputProviderState> = class
    interface IQueryDataProducer<'Result>
Public MustInherit Class QueryDataProducerBase(Of TResult, TOutputProviderState)
Implements IQueryDataProducer(Of 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

QueryDataProducerBase<TResult,TOutputProviderState>()

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