Share via


Extensions Class

Definition

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

Methods

GenerateHeroCard(FormPrompt)

Generate a hero card from a FormPrompt.

GenerateHeroCards(FormPrompt)

Generate a list of hero cards from a prompt definition.

GenerateMessages(FormPrompt, IMessageActivity, IMessageActivity)

Given a prompt definition generate messages to send back.

GetGenericElementType(Type)

Return the underlying type of generic IEnumerable.

IsAttachmentCollection(Type)

Type is enumerable of awaitable attachments.

IsAttachmentType(Type)

Type is AwaitableAttachment or descendant.

IsDouble(Type)

Type is float or double.

IsGenericCollectionType(Type)

Type implements generic ICollection.

IsGenericEnumerableType(Type)

Type implements generic IEnumerable.

IsICollection(Type)

Type implements ICollection.

IsIEnumerable(Type)

Type implements IEnumerable.

IsIList(Type)

Type implements IList.

IsIntegral(Type)

Type is integral.

IsListCollectionType(Type)

Type implements generic IList.

IsNullable(Type)

Type is nullable.

Applies to