Sprog

AdaptiveCard Class

Definition

AdaptiveCards class to enable fluent style registration of handlers related to Adaptive Cards.

public class AdaptiveCard
type AdaptiveCard = class
Public Class AdaptiveCard
Inheritance
AdaptiveCard

Constructors

Name Description
AdaptiveCard(AgentApplication)

Creates a new instance of the AdaptiveCards class.

Methods

Name Description
OnActionExecute(MultipleRouteSelector, ActionExecuteHandler)
Obsolete.

Adds a route to the application for handling Adaptive Card Action.Execute events.

OnActionExecute(Regex, ActionExecuteHandler, UInt16, String[], Boolean)

Adds a route to the application for handling Adaptive Card Action.Execute events that will match on the verb using a Regex pattern.

OnActionExecute(RouteSelector, ActionExecuteHandler, UInt16, String[], Boolean)

Adds a route to the application for handling Adaptive Card Action.Execute events.

OnActionExecute(String, ActionExecuteHandler, UInt16, String[], Boolean)

Adds a route to the application for handling Adaptive Card Action.Execute events that will match on the verb using an exact string comparison.

OnActionSubmit(MultipleRouteSelector, ActionSubmitHandler)
Obsolete.

Adds a route to the application for handling Adaptive Card Action.Submit events.

OnActionSubmit(Regex, ActionSubmitHandler, UInt16, String[], Boolean)

Adds a route to the application for handling Adaptive Card Action.Submit events.

OnActionSubmit(RouteSelector, ActionSubmitHandler, UInt16, String[], Boolean)

Adds a route to the application for handling Adaptive Card Action.Submit events.

OnActionSubmit(String, ActionSubmitHandler, UInt16, String[], Boolean)

Adds a route to the application for handling Adaptive Card Action.Submit events.

OnSearch(MultipleRouteSelector, SearchHandler)
Obsolete.

Adds a route to the application for handling Adaptive Card dynamic search events.

OnSearch(Regex, SearchHandler, UInt16, String[], Boolean)

Adds a route to the application for handling Adaptive Card dynamic search events.

OnSearch(RouteSelector, SearchHandler, UInt16, String[], Boolean)

Adds a route to the application for handling Adaptive Card dynamic search events.

OnSearch(String, SearchHandler, UInt16, String[], Boolean)

Adds a route to the application for handling Adaptive Card dynamic search events.

Applies to