Exemplo n.º 1
0
 public ImportCommand(IChineseWordParseProvider parseProvider, IWordRepository repository,
                      IFlashCardGenerator flashCardGenerator, uint maxImportFileSize)
 {
     _parseProvider      = parseProvider;
     _repository         = repository;
     _flashCardGenerator = flashCardGenerator;
     _maxImportFileSize  = maxImportFileSize;
 }
Exemplo n.º 2
0
 public EditCommand(IWordRepository repository, IChineseWordParseProvider parseProvider,
                    ImportCommand importCommand, IFlashCardGenerator flashCardGenerator)
 {
     _repository         = repository;
     _parseProvider      = parseProvider;
     _importCommand      = importCommand;
     _flashCardGenerator = flashCardGenerator;
 }
Exemplo n.º 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;
 }
Exemplo n.º 4
0
 public FontFlashCardGenerator(IChineseWordParseProvider wordParseProvider)
 {
     _wordParseProvider = wordParseProvider;
 }
Exemplo n.º 5
0
 public AddCommand(IChineseWordParseProvider parseProvider, IWordRepository repository,
                   IFlashCardGenerator flashCardGenerator) : base(parseProvider, repository, flashCardGenerator, 0)
 {
 }