Example #1
0
 public ImportCommand(IChineseWordParseProvider parseProvider, IWordRepository repository,
                      IFlashCardGenerator flashCardGenerator, uint maxImportFileSize)
 {
     _parseProvider      = parseProvider;
     _repository         = repository;
     _flashCardGenerator = flashCardGenerator;
     _maxImportFileSize  = maxImportFileSize;
 }
Example #2
0
 public EditCommand(IWordRepository repository, IChineseWordParseProvider parseProvider,
                    ImportCommand importCommand, IFlashCardGenerator flashCardGenerator)
 {
     _repository         = repository;
     _parseProvider      = parseProvider;
     _importCommand      = importCommand;
     _flashCardGenerator = flashCardGenerator;
 }
Example #3
0
 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;
 }
Example #4
0
 public AddCommand(IChineseWordParseProvider parseProvider, IWordRepository repository,
                   IFlashCardGenerator flashCardGenerator) : base(parseProvider, repository, flashCardGenerator, 0)
 {
 }