public ImportCommand(IChineseWordParseProvider parseProvider, IWordRepository repository, IFlashCardGenerator flashCardGenerator, uint maxImportFileSize) { _parseProvider = parseProvider; _repository = repository; _flashCardGenerator = flashCardGenerator; _maxImportFileSize = maxImportFileSize; }
public EditCommand(IWordRepository repository, IChineseWordParseProvider parseProvider, ImportCommand importCommand, IFlashCardGenerator flashCardGenerator) { _repository = repository; _parseProvider = parseProvider; _importCommand = importCommand; _flashCardGenerator = flashCardGenerator; }
public AdminCommand(IChineseWordParseProvider parseProvider, IWordRepository repository, IFlashCardGenerator flashCardGenerator, uint maxImportFileSize, string preInstalledFolderPath, long serverUserId, long adminUser, TelegramBotClient tClient) : base( parseProvider, repository, flashCardGenerator, maxImportFileSize) { _repository = repository; _preInstalledFolderPath = preInstalledFolderPath; _serverUserId = serverUserId; _adminUser = adminUser; _tClient = tClient; _parseProvider = parseProvider; }
public AddCommand(IChineseWordParseProvider parseProvider, IWordRepository repository, IFlashCardGenerator flashCardGenerator) : base(parseProvider, repository, flashCardGenerator, 0) { }