WebexAdapter Construtores

Definição

Sobrecargas

Nome Description
WebexAdapter(WebexClientWrapper, WebexAdapterOptions, ILogger)

Inicializa uma nova instância da classe WebexAdapter. Cria um adaptador Webex.

WebexAdapter(IConfiguration, WebexAdapterOptions, ILogger)

Inicializa uma nova instância da WebexAdapter classe usando configurações de configuração.

WebexAdapter(WebexClientWrapper, WebexAdapterOptions, ILogger)

Inicializa uma nova instância da classe WebexAdapter. Cria um adaptador Webex.

public WebexAdapter(Microsoft.Bot.Builder.Adapters.Webex.WebexClientWrapper webexClient, Microsoft.Bot.Builder.Adapters.Webex.WebexAdapterOptions options, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Adapters.Webex.WebexAdapter : Microsoft.Bot.Builder.Adapters.Webex.WebexClientWrapper * Microsoft.Bot.Builder.Adapters.Webex.WebexAdapterOptions * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Adapters.Webex.WebexAdapter
Public Sub New (webexClient As WebexClientWrapper, options As WebexAdapterOptions, Optional logger As ILogger = Nothing)

Parâmetros

webexClient
WebexClientWrapper

Uma interface de API Webex.

options
WebexAdapterOptions

Uma instância de WebexAdapterOptions.

logger
ILogger

A implementação do ILogger que esse adaptador deve usar.

Aplica-se a

WebexAdapter(IConfiguration, WebexAdapterOptions, ILogger)

Inicializa uma nova instância da WebexAdapter classe usando configurações de configuração.

public WebexAdapter(Microsoft.Extensions.Configuration.IConfiguration configuration, Microsoft.Bot.Builder.Adapters.Webex.WebexAdapterOptions options = default, Microsoft.Extensions.Logging.ILogger logger = default);
new Microsoft.Bot.Builder.Adapters.Webex.WebexAdapter : Microsoft.Extensions.Configuration.IConfiguration * Microsoft.Bot.Builder.Adapters.Webex.WebexAdapterOptions * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.Adapters.Webex.WebexAdapter
Public Sub New (configuration As IConfiguration, Optional options As WebexAdapterOptions = Nothing, Optional logger As ILogger = Nothing)

Parâmetros

configuration
IConfiguration

Uma IConfiguration instância.

options
WebexAdapterOptions

Uma instância de WebexAdapterOptions.

logger
ILogger

A implementação do ILogger que esse adaptador deve usar.

Comentários

As chaves de configuração são: WebexAccessToken: Um token de acesso para o bot. WebexPublicAddress: A URL raiz do aplicativo bot. WebexSecret: O segredo usado para validar webhooks recebidos. WebexWebhookName: Um nome para a assinatura do webhook.

Aplica-se a