語言

Extensions 類別

定義

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

方法

名稱 Description
GenerateHeroCard(FormPrompt)

從 FormPrompt 產生一張英雄卡。

GenerateHeroCards(FormPrompt)

從提示定義產生一份英雄卡清單。

GenerateMessages(FormPrompt, IMessageActivity, IMessageActivity)

給定提示詞定義,產生訊息以回傳。

GetGenericElementType(Type)

回傳底層的通用型別 IEnumerable。

IsAttachmentCollection(Type)

類型可以數出各種可期待的依附。

IsAttachmentType(Type)

類型為等待可依附(AwaitableAttachment)或後代。

IsDouble(Type)

類型是浮子或雙重。

IsGenericCollectionType(Type)

型別實作通用 ICollection。

IsGenericEnumerableType(Type)

型別實作通用的 IEnumerable。

IsICollection(Type)

型別實作 ICollection。

IsIEnumerable(Type)

類型實作 IEnumerable。

IsIList(Type)

型別實作 IList。

IsIntegral(Type)

類型是整體的。

IsListCollectionType(Type)

類型實作通用 IList。

IsNullable(Type)

類型為可為 Null。

適用於