MessageFormatterEnumerableTracker.CanDeserialize(Type) 方法

定义

检查给定 Type 是否完全基于 IAsyncEnumerable<T>一些封闭泛型类型。

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

参数

objectType
Type

可能为 IAsyncEnumerable<T>. 的类型。

返回

如果给定 TypeIAsyncEnumerable<T>true,则为 true;否则为 false。

适用于