Udostępnij za pośrednictwem


IncrementalValuesProvider<TValues> Struct

Definition

Represents a provider of multiple values that can be transformed to construct an execution pipeline

public readonly struct IncrementalValuesProvider<TValues>
type IncrementalValuesProvider<'Values> = struct
Public Structure IncrementalValuesProvider(Of TValues)

Type Parameters

TValues

The type of value that this source provides access to

Inheritance
IncrementalValuesProvider<TValues>

Remarks

This is an opaque type that cannot be used directly. Instead an IIncrementalGenerator will receive a set of value providers when constructing its execution pipeline. A set of extension methods are then used to create transforms over the data that creates the actual pipeline.

Extension Methods

Collect<TSource>(IncrementalValuesProvider<TSource>)
Combine<TLeft,TRight>(IncrementalValuesProvider<TLeft>, IncrementalValueProvider<TRight>)
Select<TSource,TResult>(IncrementalValuesProvider<TSource>, Func<TSource,CancellationToken,TResult>)
SelectMany<TSource,TResult>(IncrementalValuesProvider<TSource>, Func<TSource,CancellationToken,IEnumerable<TResult>>)
SelectMany<TSource,TResult>(IncrementalValuesProvider<TSource>, Func<TSource,CancellationToken,ImmutableArray<TResult>>)
Where<TSource>(IncrementalValuesProvider<TSource>, Func<TSource,Boolean>)
WithComparer<TSource>(IncrementalValuesProvider<TSource>, IEqualityComparer<TSource>)
WithTrackingName<TSource>(IncrementalValuesProvider<TSource>, String)

Applies to