Пример #1
0
 public BotController(IBotFrameworkHttpAdapter httpAdapter, IBot bot)
 {
     _adapter = httpAdapter;
     _bot     = bot;
 }
Пример #2
0
 public BotController(IBotFrameworkHttpAdapter adapter, IBot bot)
 {
     Adapter = adapter;
     Bot     = bot;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="BotController"/> class.
 /// </summary>
 /// <param name="adapter">The BotFramework adapter.</param>
 /// <param name="activityHandler">The underlying activity handler.</param>
 public BotController(IBotFrameworkHttpAdapter adapter, IBot activityHandler)
 {
     this.botFrameworkHttpAdapter = adapter;
     this.activityHandler         = activityHandler;
 }
Пример #4
0
 public BotController(IBotFrameworkHttpAdapter httpAdapter, WebSocketEnabledHttpAdapter webSocketEnabledHttpAdapter, IBot bot)
 {
     _adapter = httpAdapter;
     _webSocketEnabledHttpAdapter = webSocketEnabledHttpAdapter;
     _bot = bot;
 }
 public SlackController(SlackAdapter adapter, IBot bot)
 {
     _adapter = adapter;
     _bot     = bot;
 }
Пример #6
0
 public NotifyController(IBotFrameworkHttpAdapter adapter, IConfiguration configuration, ConcurrentDictionary <string, ConversationReference> conversationReferences)
 {
     _adapter = adapter;
     _conversationReferences = conversationReferences;
     _appId = configuration["MicrosoftAppId"] ?? string.Empty;
 }
 public FacebookController(FacebookAdapter adapter, IBot bot)
 {
     _adapter = adapter;
     _bot     = bot;
 }
Пример #8
0
 public BotController(IBotFrameworkHttpAdapter adapter, IBot bot, ILogger <BotController> logger)
 {
     _adapter = adapter;
     _bot     = bot;
     _logger  = logger;
 }
Пример #9
0
 public BotController(IBotFrameworkHttpAdapter adapter, IBot bot)
 {
     this._adapter = adapter;
     this._bot     = bot;
 }