Extensions.ToAttachment Metodo

Definizione

Overload

ToAttachment(AnimationCard)

Crea un nuovo allegato da AnimationCard.

ToAttachment(AudioCard)

Crea un nuovo allegato da AudioCard.

ToAttachment(HeroCard)

Crea un nuovo allegato da HeroCard.

ToAttachment(OAuthCard)

Crea un nuovo allegato da OAuthCard.

ToAttachment(ReceiptCard)

Crea un nuovo allegato da ReceiptCard.

ToAttachment(SigninCard)

Crea un nuovo allegato da SigninCard.

ToAttachment(ThumbnailCard)

Crea un nuovo allegato da ThumbnailCard.

ToAttachment(VideoCard)

Crea un nuovo allegato da VideoCard.

ToAttachment(AnimationCard)

Crea un nuovo allegato da AnimationCard.

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.AnimationCard card);
static member ToAttachment : Microsoft.Bot.Schema.AnimationCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As AnimationCard) As Attachment

Parametri

card
AnimationCard

Istanza di AnimationCard.

Restituisce

Allegato generato.

Si applica a

ToAttachment(AudioCard)

Crea un nuovo allegato da AudioCard.

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.AudioCard card);
static member ToAttachment : Microsoft.Bot.Schema.AudioCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As AudioCard) As Attachment

Parametri

card
AudioCard

Istanza di AudioCard.

Restituisce

Allegato generato.

Si applica a

ToAttachment(HeroCard)

Crea un nuovo allegato da HeroCard.

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.HeroCard card);
static member ToAttachment : Microsoft.Bot.Schema.HeroCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As HeroCard) As Attachment

Parametri

card
HeroCard

Istanza di HeroCard.

Restituisce

Allegato generato.

Si applica a

ToAttachment(OAuthCard)

Crea un nuovo allegato da OAuthCard.

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.OAuthCard card);
static member ToAttachment : Microsoft.Bot.Schema.OAuthCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As OAuthCard) As Attachment

Parametri

card
OAuthCard

Istanza di OAuthCard.

Restituisce

Allegato generato.

Si applica a

ToAttachment(ReceiptCard)

Crea un nuovo allegato da ReceiptCard.

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.ReceiptCard card);
static member ToAttachment : Microsoft.Bot.Schema.ReceiptCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As ReceiptCard) As Attachment

Parametri

card
ReceiptCard

Istanza di ReceiptCard.

Restituisce

Allegato generato.

Si applica a

ToAttachment(SigninCard)

Crea un nuovo allegato da SigninCard.

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.SigninCard card);
static member ToAttachment : Microsoft.Bot.Schema.SigninCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As SigninCard) As Attachment

Parametri

card
SigninCard

Istanza di SigninCard.

Restituisce

Allegato generato.

Si applica a

ToAttachment(ThumbnailCard)

Crea un nuovo allegato da ThumbnailCard.

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.ThumbnailCard card);
static member ToAttachment : Microsoft.Bot.Schema.ThumbnailCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As ThumbnailCard) As Attachment

Parametri

card
ThumbnailCard

Istanza di ThumbnailCard.

Restituisce

Allegato generato.

Si applica a

ToAttachment(VideoCard)

Crea un nuovo allegato da VideoCard.

public static Microsoft.Bot.Schema.Attachment ToAttachment (this Microsoft.Bot.Schema.VideoCard card);
static member ToAttachment : Microsoft.Bot.Schema.VideoCard -> Microsoft.Bot.Schema.Attachment
<Extension()>
Public Function ToAttachment (card As VideoCard) As Attachment

Parametri

card
VideoCard

Istanza di VideoCard.

Restituisce

Allegato generato.

Si applica a