AzureBot.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Reflection;
5 using System.Text;
6 using System.Threading.Tasks;
9 
10 namespace Microsoft.Bot.Builder.Azure
11 {
18  [Obsolete("This class is obsolete. Use BotService instead.", false)]
19  public static class AzureBot
20  {
24  public static BotAuthenticator Authenticator => BotService.Authenticator;
25 
29  public static void Initialize()
30  {
31  BotService.Initialize(Assembly.GetCallingAssembly());
32  }
33  }
34 }
Root namespace for the Microsoft Bot Connector SDK.
Definition: ActionTypes.cs:7
static BotServiceScope Initialize(Assembly assembly=null)
Initialize bot service by updating the Conversation.Container with AzureModule.
Definition: BotService.cs:63
The azure bot utilities and helpers.
Definition: AzureBot.cs:19
Core namespace for Dialogs and associated infrastructure.
Definition: Address.cs:40
static BotAuthenticator Authenticator
The bot authenticator.
Definition: BotService.cs:56
Root namespace for the Microsoft Bot Builder SDK.
static void Initialize()
Update the Conversation.Container for azure bots.
Definition: AzureBot.cs:29