protected QueryHandlerBase( ReaderAppContext dbContext, IAuthorizationService authservice, IMapper mapper) : base(dbContext, authservice, mapper) { dbContext.ChangeTracker.QueryTrackingBehavior = Microsoft.EntityFrameworkCore.QueryTrackingBehavior.NoTracking; }
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);
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;
protected HandlerBase( ReaderAppContext dbContext, IAuthorizationService authservice, IMapper mapper) => (_dbContext, _authService, _mapper) = (dbContext, authservice, mapper);
public UsersOperationsAuthorizationHandler(ReaderAppContext dbContext) => _dbContext = dbContext;
protected CommandHandlerBase( ReaderAppContext dbContext, IAuthorizationService authservice, IMapper mapper) : base(dbContext, authservice, mapper) { }
public GetUnknownWordsHandler( ReaderAppContext dbContext, IAuthorizationService authService, IMapper mapper, IFileProcessedWordsCache filesWordsCache, IUserDictionary userDictionary) : base(dbContext, authService, mapper) => (_filesWordsCache, _userDictionary) = (filesWordsCache, userDictionary);
public GetUserHandler( ReaderAppContext dbContext, IAuthorizationService authService, IMapper mapper) : base(dbContext, authService, mapper) { }
public DeleteFileHandler( ReaderAppContext dbContext, IAuthorizationService authService, IMapper mapper, IUserFileStore userFilesStore, IFileProcessedWordsCache filesWordsCache) : base(dbContext, authService, mapper) => (_userFilesStore, _filesWordsCache) = (userFilesStore, filesWordsCache);
public FilesQueriesHandler( ReaderAppContext dbContext, IAuthorizationService authService, IMapper mapper) : base(dbContext, authService, mapper) { }
public CreateUserHandler( ReaderAppContext dbContext, IAuthorizationService authService, IMapper mapper, IUserDictionary userDictionary) : base(dbContext, authService, mapper) => _userDictionary = userDictionary;