Delen via


MessageFormatterEnumerableTracker.GetToken<T> Method

Definition

Used by the generator to assign a handle to the given IAsyncEnumerable<T>.

public long GetToken<T> (System.Collections.Generic.IAsyncEnumerable<T> enumerable);
member this.GetToken : System.Collections.Generic.IAsyncEnumerable<'T> -> int64
Public Function GetToken(Of T) (enumerable As IAsyncEnumerable(Of T)) As Long

Type Parameters

T

The type of value that is produced by the enumerable.

Parameters

enumerable
IAsyncEnumerable<T>

The enumerable to assign a handle to.

Returns

The handle that was assigned.

Applies to