public AppUserManager( IAppUserStore store, IOptions <IdentityOptions> optionsAccessor, IPasswordHasher <User> passwordHasher, IEnumerable <IUserValidator <User> > userValidators, IEnumerable <IPasswordValidator <User> > passwordValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, IServiceProvider services, ILogger <AppUserManager> logger, IHttpContextAccessor contextAccessor, IBehlogContext uow) : base(( UserStore <User, Role, BehlogContext, Guid, UserClaim, UserRole, UserLogin, UserToken, RoleClaim>)store, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger ) { _userStore = store ?? throw new ArgumentNullException(nameof(_userStore)); _optionsAccessor = optionsAccessor ?? throw new ArgumentNullException(nameof(_optionsAccessor)); _passwordHasher = passwordHasher ?? throw new ArgumentNullException(nameof(_passwordHasher)); _userValidators = userValidators ?? throw new ArgumentNullException(nameof(_userValidators)); _passwordValidators = passwordValidators ?? throw new ArgumentNullException(nameof(_passwordValidators)); _keyNormalizer = keyNormalizer ?? throw new ArgumentNullException(nameof(_keyNormalizer)); _errors = errors ?? throw new ArgumentNullException(nameof(_errors)); _services = services ?? throw new ArgumentNullException(nameof(_services)); _logger = logger ?? throw new ArgumentNullException(nameof(_logger)); _contextAccessor = contextAccessor ?? throw new ArgumentNullException(nameof(_contextAccessor)); _uow = uow ?? throw new ArgumentNullException(nameof(_uow)); _users = uow.Set <User>(); _roles = uow.Set <Role>(); }
public PostRepository( IBehlogContext context, IDateService dateService) : base(context) { dateService.CheckArgumentIsNull(); _dateService = dateService; }
public AppRoleStore( IBehlogContext uow, IdentityErrorDescriber describer) : base((BehlogContext)uow, describer) { _uow = uow ?? throw new ArgumentNullException(nameof(_uow)); _describer = describer ?? throw new ArgumentNullException(nameof(_describer)); }
public AppRoleManager( IAppRoleStore store, IEnumerable <IRoleValidator <Role> > roleValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, ILogger <AppRoleManager> logger, IHttpContextAccessor contextAccessor, IBehlogContext uow) : base((RoleStore <Role, BehlogContext, Guid, UserRole, RoleClaim>)store, roleValidators, keyNormalizer, errors, logger) { _store = store ?? throw new ArgumentNullException(nameof(_store)); _roleValidators = roleValidators ?? throw new ArgumentNullException(nameof(_roleValidators)); _keyNormalizer = keyNormalizer ?? throw new ArgumentNullException(nameof(_keyNormalizer)); _errors = errors ?? throw new ArgumentNullException(nameof(_errors)); _logger = logger ?? throw new ArgumentNullException(nameof(_logger)); _contextAccessor = contextAccessor ?? throw new ArgumentNullException(nameof(_contextAccessor)); _db = uow ?? throw new ArgumentNullException(nameof(_db)); _users = _db.Set <User>(); }
public MenuRepository(IBehlogContext context) : base(context) { }
public InvoiceRepository(IBehlogContext context) : base(context) { }
public CommentRepository(IBehlogContext context) : base(context) { }
protected BaseRepository(IBehlogContext context) { context.CheckArgumentIsNull(); _context = context; _dbSet = _context.Set <TEntity>(); }
public CategoryRepository(IBehlogContext context) : base(context) { }
public PostMetaRepository(IBehlogContext context) : base(context) { }
public CurrencyRepository(IBehlogContext context) : base(context) { }
public LanguageRepository(IBehlogContext context) : base(context) { }
public WebsiteOptionRepository(IBehlogContext context) : base(context) { }
public LayoutRepository(IBehlogContext context) : base(context) { }
public LinkRepository(IBehlogContext context) : base(context) { }
public FormFieldValueRepository(IBehlogContext context) : base(context) { }
public ProductPriceRepository(IBehlogContext context) : base(context) { }
public FileRepository(IBehlogContext context) : base(context) { }
public ShippingRepository(IBehlogContext context) : base(context) { }
public SubscriberRepository(IBehlogContext context) : base(context) { }
public CustomerRepository(IBehlogContext context) : base(context) { }
public WebsiteVisitRepository(IBehlogContext context) : base(context) { }
public PostVisitRepository(IBehlogContext context) : base(context) { }
public ProductReviewRepository(IBehlogContext context) : base(context) { }
public FormFieldItemRepository(IBehlogContext context) : base(context) { }
public TagRepository(IBehlogContext context) : base(context) { }
public OrderRepository(IBehlogContext context) : base(context) { }
public ErrorLogRepository(IBehlogContext context) : base(context) { }
public PostTypeRepository(IBehlogContext context) : base(context) { }
public CityRepository(IBehlogContext context) : base(context) { }