public BotCommandsService(IStandardCommandRepository standardCommandRepository, ICommandTextGoogle commandTextGoogle) : base(standardCommandRepository) { _standardCommandRepository = standardCommandRepository; _commandTextGoogle = commandTextGoogle; _commands = new Dictionary <CommandType, Func <IBotCommand, ResponseTrigger> > { { CommandType.GoogleDocs, CommandGoogle }, { CommandType.Text, CommandText } }; }
public GoogleTextCommandsAppService(ICommandTextGoogle commandTextGoogle) { _commandTextGoogle = commandTextGoogle; }