Exemplo n.º 1
0
 protected QueryHandlerBase(
     ReaderAppContext dbContext,
     IAuthorizationService authservice,
     IMapper mapper) : base(dbContext, authservice, mapper)
 {
     dbContext.ChangeTracker.QueryTrackingBehavior = Microsoft.EntityFrameworkCore.QueryTrackingBehavior.NoTracking;
 }
Exemplo n.º 2
0
 public UploadFileHandler(
     ReaderAppContext dbContext,
     IAuthorizationService authService,
     IMapper mapper,
     IUserFileStore userFilesStore,
     IFileProcessedWordsCache filesWordsCache,
     ILemmatizer lemmatizer,
     IUserDictionary userDictionary,
     PipeBuilder pipeBuilder) : base(dbContext, authService, mapper) => (_userFilesStore, _filesWordsCache, _lemmatizer, _userDictionary, _pipeBuilder) = (userFilesStore, filesWordsCache, lemmatizer, userDictionary, pipeBuilder);
Exemplo n.º 3
0
 public LoadFileQueryHandler(
     ReaderAppContext dbContext,
     IAuthorizationService authService,
     IMapper mapper,
     IUserFileStore userFilesStore) : base(dbContext, authService, mapper) => _userFilesStore = userFilesStore;
 public AddToLearnedHandle(
     ReaderAppContext dbContext,
     IAuthorizationService authService,
     IMapper mapper,
     IUserDictionary userDictionary) : base(dbContext, authService, mapper) => _userDictionary = userDictionary;
Exemplo n.º 5
0
 protected HandlerBase(
     ReaderAppContext dbContext,
     IAuthorizationService authservice,
     IMapper mapper) => (_dbContext, _authService, _mapper) = (dbContext, authservice, mapper);
Exemplo n.º 6
0
 public UsersOperationsAuthorizationHandler(ReaderAppContext dbContext) => _dbContext = dbContext;
Exemplo n.º 7
0
 protected CommandHandlerBase(
     ReaderAppContext dbContext,
     IAuthorizationService authservice,
     IMapper mapper) : base(dbContext, authservice, mapper)
 {
 }
Exemplo n.º 8
0
 public GetUnknownWordsHandler(
     ReaderAppContext dbContext,
     IAuthorizationService authService,
     IMapper mapper,
     IFileProcessedWordsCache filesWordsCache,
     IUserDictionary userDictionary) : base(dbContext, authService, mapper) => (_filesWordsCache, _userDictionary) = (filesWordsCache, userDictionary);
Exemplo n.º 9
0
 public GetUserHandler(
     ReaderAppContext dbContext,
     IAuthorizationService authService,
     IMapper mapper) : base(dbContext, authService, mapper)
 {
 }
Exemplo n.º 10
0
 public DeleteFileHandler(
     ReaderAppContext dbContext,
     IAuthorizationService authService,
     IMapper mapper,
     IUserFileStore userFilesStore,
     IFileProcessedWordsCache filesWordsCache) : base(dbContext, authService, mapper) => (_userFilesStore, _filesWordsCache) = (userFilesStore, filesWordsCache);
Exemplo n.º 11
0
 public FilesQueriesHandler(
     ReaderAppContext dbContext,
     IAuthorizationService authService,
     IMapper mapper) : base(dbContext, authService, mapper)
 {
 }
Exemplo n.º 12
0
 public CreateUserHandler(
     ReaderAppContext dbContext,
     IAuthorizationService authService,
     IMapper mapper,
     IUserDictionary userDictionary) : base(dbContext, authService, mapper) => _userDictionary = userDictionary;