public DeleteUserDataDialog(IBotDataService botDataService, IMessageHelper messageHelpers, IList <EntityRecommendation> entities) { SetField.NotNull(out _botDataService, nameof(botDataService), botDataService); SetField.NotNull(out _messageHelpers, nameof(messageHelpers), messageHelpers); _entities = entities; }
public GetStartedDialog(IBotDataService botDataService, IDialogBuilder dialogBuilder, IConversationService conversationService, IMessageHelper messageHelper) { SetField.NotNull(out _botDataService, nameof(botDataService), botDataService); SetField.NotNull(out _dialogBuilder, nameof(dialogBuilder), dialogBuilder); SetField.NotNull(out _conversationService, nameof(conversationService), conversationService); SetField.NotNull(out _messageHelper, nameof(messageHelper), messageHelper); }
public BotPersonaDialog(IBotDataService botDataService, IList <EntityRecommendation> entities, PersonalityChatPersona preferredBotPersona, IMessageHelper messageHelpers) { SetField.NotNull(out _botDataService, nameof(botDataService), botDataService); SetField.NotNull(out _messageHelper, nameof(messageHelpers), messageHelpers); _entities = entities; _preferredBotPersona = preferredBotPersona; }
public GetWeatherForecastDialog(IWeatherService weatherService, IList <EntityRecommendation> entities, IBotDataService botDataService, IMessageHelper messageHelpers) { _weatherService = weatherService; _entities = entities; _botDataService = botDataService; _messageHelpers = messageHelpers; }
public PreferredWeatherLocationDialog(IBotDataService botDataService, IWeatherService weatherService, IList <EntityRecommendation> entities, IMessageHelper messageHelpers) { SetField.NotNull(out _botDataService, nameof(botDataService), botDataService); SetField.NotNull(out _weatherService, nameof(weatherService), weatherService); SetField.NotNull(out _messageHelpers, nameof(messageHelpers), messageHelpers); _entities = entities; }
public RootLuisDialog( IBotDataService botDataService, IConversationService conversationService, IDialogBuilder dialogBuilder, IHeadTailsService headTailsService, IJokeService jokeService, IMessageHelper messageHelper) : base(new LuisService(new LuisModelAttribute( ConfigurationManager.AppSettings["luis:ModelId"], ConfigurationManager.AppSettings["luis:SubscriptionId"]))) { SetField.NotNull(out _botDataService, nameof(botDataService), botDataService); SetField.NotNull(out _conversationService, nameof(conversationService), conversationService); SetField.NotNull(out _dialogBuilder, nameof(dialogBuilder), dialogBuilder); SetField.NotNull(out _headTailsService, nameof(headTailsService), headTailsService); SetField.NotNull(out _jokeService, nameof(jokeService), jokeService); SetField.NotNull(out _messageHelper, nameof(messageHelper), messageHelper); }