コード例 #1
0
 public MainDialogBot(BotStateService botService, RecognitionServices luisService, ILogger <MainDialogBot <T> > logger, T Dialog)
 {
     _botService  = botService;
     _dialog      = Dialog;
     _luisService = luisService;
     _logger      = logger;
 }
コード例 #2
0
 public MainDialog(BotStateService botService, RecognitionServices luisService) : base(nameof(MainDialog), botService, luisService)
 {
     _botService  = botService;
     _luisService = luisService;
     InitializeDialog();
 }
コード例 #3
0
 public FundDocumentsDialog(string dialogId, BotStateService botService, RecognitionServices luisService) : base(dialogId, botService, luisService)
 {
     InitializeDialog();
     _botService = botService;
 }
コード例 #4
0
 public FundBasicsAttributeDialog(string dialogId, BotStateService botService, RecognitionServices luisService) : base(dialogId, botService, luisService)
 {
     InitializeDialog();
 }
コード例 #5
0
 public FundHoldingsDialog(string dialogId, BotStateService botService, RecognitionServices luisService) : base(dialogId, botService, luisService)
 {
     InitializeDialog();
 }
コード例 #6
0
 /*
  *   IMPORTANT:
  *          this dialog is structured in a way that is different than the others. there are two waterfall dialogs.
  *          The first outer waterfall dialog is to parse the luisResult to figure out which type of attributes were requested
  *              these attributes are intended to be grouped by FundBasic attributes, FundPerformance attributes, etc.
  *              Currently, only FundBasic is implemented.
  *
  *          The second inner waterfall dialog is to dispatch different dialogs based on the attributes requested. If FundBasic and FundPerformance
  *          attributes were requested, then it will first begin the FundBasicAttributeDialog, and once it ends, it will begin the FundPerformanceAttributeDialog (when added)
  *
  */
 public FundSpecificAttributesDialog(string dialogId, BotStateService botService, RecognitionServices luisService) : base(dialogId, botService, luisService)
 {
     _botService  = botService;
     _luisService = luisService;
     InitializeDialog();
 }
コード例 #7
0
 public CancelAndHelpDialog(string id, BotStateService botService, RecognitionServices luisService)
     : base(id)
 {
     _botService  = botService;
     _luisService = luisService;
 }