Share via


MessageFormatterEnumerableTracker.CanDeserialize(Type) Method

Definition

Checks if a given Type is exactly some closed generic type based on IAsyncEnumerable<T>.

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

Parameters

objectType
Type

The type which may be IAsyncEnumerable<T>.

Returns

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

Applies to