Aracılığıyla paylaş


IncrementalValueProvider<TValue> Struct

Definition

Represents a provider of a single value that can be transformed as part of constructing an execution pipeline

public readonly struct IncrementalValueProvider<TValue>
type IncrementalValueProvider<'Value> = struct
Public Structure IncrementalValueProvider(Of TValue)

Type Parameters

TValue

The type of value that this source provides access to

Inheritance
IncrementalValueProvider<TValue>

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

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

Applies to