ServiceCollectionExtensions 类

定义

注意

Use CloudAdapter with ConfigurationBotFrameworkAuthentication instead to configure bot runtime.

一组扩展方法,支持使用 IServiceCollection .NET Core 托管机器人。

[System.Obsolete("Use `CloudAdapter` with `ConfigurationBotFrameworkAuthentication` instead to configure bot runtime.", false)]
public static class ServiceCollectionExtensions
[<System.Obsolete("Use `CloudAdapter` with `ConfigurationBotFrameworkAuthentication` instead to configure bot runtime.", false)>]
type ServiceCollectionExtensions = class
Public Module ServiceCollectionExtensions
继承
ServiceCollectionExtensions
属性

方法

AddBot<TBot>(IServiceCollection, Action<BotFrameworkOptions>)
已过时.

添加 并选择性地配置 TBotIServiceCollection

AddBot<TBot>(IServiceCollection, Func<IServiceProvider,TBot>, Action<BotFrameworkOptions>)
已过时.

添加 并选择性地配置 TBotIServiceCollection

AddBot<TBot>(IServiceCollection, TBot, Action<BotFrameworkOptions>)
已过时.

向 添加并选择性地配置单一实例 bot 实例 IServiceCollection

AddBotFrameworkAdapterIntegration(IServiceCollection, Action<BotFrameworkOptions>)
已过时.

BotFrameworkAdapter添加 作为IAdapterIntegration集成层将用于处理机器人请求的 。

适用于

另请参阅