Udostępnij przez


Extensions Klasa

Definicja

public static class Extensions
type Extensions = class
Public Module Extensions
Dziedziczenie
Extensions

Metody

GenerateHeroCard(FormPrompt)

Wygeneruj kartę elementu hero na podstawie elementu FormPrompt.

GenerateHeroCards(FormPrompt)

Wygeneruj listę kart elementów hero na podstawie definicji monitu.

GenerateMessages(FormPrompt, IMessageActivity, IMessageActivity)

Mając definicję monitu, wygeneruj komunikaty do wysłania z powrotem.

GetGenericElementType(Type)

Zwróć podstawowy typ ogólnego IEnumerable.

IsAttachmentCollection(Type)

Typ jest wyliczany w przypadku załączników, których można oczekiwać.

IsAttachmentType(Type)

Typ to AwaitableAttachment lub element potomny.

IsDouble(Type)

Typ jest zmiennoprzecinkowy lub podwójny.

IsGenericCollectionType(Type)

Typ implementuje ogólny interfejs ICollection.

IsGenericEnumerableType(Type)

Typ implementuje ogólne IEnumerable.

IsICollection(Type)

Typ implementuje interfejs ICollection.

IsIEnumerable(Type)

Typ implementuje element IEnumerable.

IsIList(Type)

Typ implementuje interfejs IList.

IsIntegral(Type)

Typ jest integralną częścią.

IsListCollectionType(Type)

Typ implementuje ogólną listę IList.

IsNullable(Type)

Typ ma wartość null.

Dotyczy