Compartir a través de


IQueryDataProducer<TRequest,TResult> Interface

Definition

Represents a query producer, which retrieves data from the original data source based on the query request data, and sends results to a IQueryResultReceiver<TResult>.

public interface IQueryDataProducer<TRequest,TResult> : Microsoft.VisualStudio.ProjectSystem.Query.Execution.IQueryDataProducer<TResult>
type IQueryDataProducer<'Request, 'Result> = interface
    interface IQueryDataProducer<'Result>
Public Interface IQueryDataProducer(Of TRequest, TResult)
Implements IQueryDataProducer(Of TResult)

Type Parameters

TRequest

The type of request for this query step.

TResult

The type of the result data from this query step.

Derived
Implements

Methods

LinkTo(IQueryResultReceiver<TResult>)

Link the query step to a block to process the result. The query engine will call it exactly once before using this query step.

(Inherited from IQueryDataProducer<TResult>)
SendRequestAsync(QueryProcessRequest<TRequest>)

Send a request to the query step to process it.

Applies to