Extensions 类

定义

public static class Extensions
type Extensions = class
Public Module Extensions
继承
Extensions

方法

GenerateHeroCard(FormPrompt)

从 FormPrompt 生成英雄卡片。

GenerateHeroCards(FormPrompt)

从提示定义生成主图卡的列表。

GenerateMessages(FormPrompt, IMessageActivity, IMessageActivity)

给定提示定义会生成要发送回的消息。

GetGenericElementType(Type)

返回泛型 IEnumerable 的基础类型。

IsAttachmentCollection(Type)

类型是可等待附件的枚举。

IsAttachmentType(Type)

类型为 AwaitableAttachment 或后代。

IsDouble(Type)

类型为 float 或 double。

IsGenericCollectionType(Type)

类型实现泛型 ICollection。

IsGenericEnumerableType(Type)

类型实现泛型 IEnumerable。

IsICollection(Type)

类型实现 ICollection。

IsIEnumerable(Type)

类型实现 IEnumerable。

IsIList(Type)

类型实现 IList。

IsIntegral(Type)

类型为整数。

IsListCollectionType(Type)

类型实现泛型 IList。

IsNullable(Type)

类型可以为 Null。

适用于