Microsoft.Bot.Builder.ConnectorEx.Extensions Class Reference

Static Public Member Functions

static string GZipSerialize (this ConversationReference conversationReference)
 Binary serializes ConversationReference using GZipStream. More...
 
static ConversationReference ToConversationReference (this IAddress address)
 Creates a ConversationReference from IAddress. More...
 
static ConversationReference ToConversationReference (this ResumptionCookie resumptionCookie)
 Creates a ConversationReference from ResumptionCookie. More...
 
static ConversationReference ToConversationReference (this IActivity activity)
 Creates a ConversationReference from IActivity. More...
 

Detailed Description

Definition at line 103 of file ResumptionContext.cs.

Member Function Documentation

static string Microsoft.Bot.Builder.ConnectorEx.Extensions.GZipSerialize ( this ConversationReference  conversationReference)
inlinestatic

Binary serializes ConversationReference using GZipStream.

Parameters
conversationReferenceThe resumption cookie.
Returns
A Base64 encoded string.

Definition at line 163 of file ResumptionContext.cs.

static ConversationReference Microsoft.Bot.Builder.ConnectorEx.Extensions.ToConversationReference ( this IAddress  address)
inlinestatic

Creates a ConversationReference from IAddress.

Parameters
addressThe address.
Returns
The ConversationReference.

Definition at line 110 of file ResumptionContext.cs.

static ConversationReference Microsoft.Bot.Builder.ConnectorEx.Extensions.ToConversationReference ( this ResumptionCookie  resumptionCookie)
inlinestatic

Creates a ConversationReference from ResumptionCookie.

Parameters
resumptionCookieThe resumption cookie.
Returns
The ConversationReference.

Definition at line 128 of file ResumptionContext.cs.

static ConversationReference Microsoft.Bot.Builder.ConnectorEx.Extensions.ToConversationReference ( this IActivity  activity)
inlinestatic

Creates a ConversationReference from IActivity.

Parameters
activityThe IActivity posted to bot.
Returns
The ConversationReference.

Definition at line 146 of file ResumptionContext.cs.


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