Sdílet prostřednictvím


MessageFormatterEnumerableTracker.CanSerialize(Type) Metoda

Definice

Zkontroluje, zda daná Type implementace IAsyncEnumerable<T>.

public static bool CanSerialize(Type objectType);
static member CanSerialize : Type -> bool
Public Shared Function CanSerialize (objectType As Type) As Boolean

Parametry

objectType
Type

Typ, který může implementovat IAsyncEnumerable<T>.

Návraty

true if givens Type implements IAsyncEnumerable<T>; otherwise, false.

Platí pro