Microsoft.Bot.Connector.Extensions Class Reference

Static Public Member Functions

static Attachment ToAttachment (this HeroCard card)
 Creates a new attachment from HeroCard. More...
 
static Attachment ToAttachment (this ThumbnailCard card)
 Creates a new attachment from ThumbnailCard. More...
 
static Attachment ToAttachment (this SigninCard card)
 Creates a new attachment from SigninCard. More...
 
static Attachment ToAttachment (this ReceiptCard card)
 Creates a new attachment from ReceiptCard. More...
 
static Attachment ToAttachment (this AudioCard card)
 Creates a new attachment from AudioCard. More...
 
static Attachment ToAttachment (this VideoCard card)
 Creates a new attachment from VideoCard. More...
 
static Attachment ToAttachment (this AnimationCard card)
 Creates a new attachment from AnimationCard. More...
 

Detailed Description

Definition at line 9 of file CardEx.cs.

Member Function Documentation

static Attachment Microsoft.Bot.Connector.Extensions.ToAttachment ( this HeroCard  card)
inlinestatic

Creates a new attachment from HeroCard.

Parameters
cardThe instance of HeroCard.
Returns
The generated attachment.

Definition at line 16 of file CardEx.cs.

static Attachment Microsoft.Bot.Connector.Extensions.ToAttachment ( this ThumbnailCard  card)
inlinestatic

Creates a new attachment from ThumbnailCard.

Parameters
cardThe instance of ThumbnailCard.
Returns
The generated attachment.

Definition at line 26 of file CardEx.cs.

static Attachment Microsoft.Bot.Connector.Extensions.ToAttachment ( this SigninCard  card)
inlinestatic

Creates a new attachment from SigninCard.

Parameters
cardThe instance of SigninCard.
Returns
The generated attachment.

Definition at line 36 of file CardEx.cs.

static Attachment Microsoft.Bot.Connector.Extensions.ToAttachment ( this ReceiptCard  card)
inlinestatic

Creates a new attachment from ReceiptCard.

Parameters
cardThe instance of ReceiptCard.
Returns
The generated attachment.

Definition at line 46 of file CardEx.cs.

static Attachment Microsoft.Bot.Connector.Extensions.ToAttachment ( this AudioCard  card)
inlinestatic

Creates a new attachment from AudioCard.

Parameters
cardThe instance of AudioCard.
Returns
The generated attachment.

Definition at line 56 of file CardEx.cs.

static Attachment Microsoft.Bot.Connector.Extensions.ToAttachment ( this VideoCard  card)
inlinestatic

Creates a new attachment from VideoCard.

Parameters
cardThe instance of VideoCard.
Returns
The generated attachment.

Definition at line 67 of file CardEx.cs.

static Attachment Microsoft.Bot.Connector.Extensions.ToAttachment ( this AnimationCard  card)
inlinestatic

Creates a new attachment from AnimationCard.

Parameters
cardThe instance of AnimationCard.
Returns
The generated attachment.

Definition at line 77 of file CardEx.cs.


The documentation for this class was generated from the following file: