Condividi tramite


MessageFormatterEnumerableTracker.GetToken<T> Metodo

Definizione

Utilizzato dal generatore per assegnare un handle all'oggetto specificato 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

Parametri di tipo

T

Tipo di valore prodotto dall'enumerabile.

Parametri

enumerable
IAsyncEnumerable<T>

Enumerabile a cui assegnare un handle.

Restituisce

Handle assegnato.

Si applica a