Share via


MessageFormatterEnumerableTracker.CanSerialize(Type) Method

Definition

Checks if a given Type implements IAsyncEnumerable<T>.

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

Parameters

objectType
Type

The type which may implement IAsyncEnumerable<T>.

Returns

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

Applies to