Пример #1
0
 public Handler(ConduitContext context, ICurrentUserAccessor currentUserAccessor)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
 }
Пример #2
0
 public Handler(ConduitContext db, ICurrentUserAccessor currentUserAccessor)
 {
     _db = db;
     _currentUserAccessor = currentUserAccessor;
 }
 public ArticlesController(ConduitContext context, ICurrentUserAccessor currentUserAccessor)
 {
     this.context             = context ?? throw new System.ArgumentNullException(nameof(context));
     this.currentUserAccessor = currentUserAccessor ?? throw new System.ArgumentNullException(nameof(currentUserAccessor));
 }
 public Handler(ConduitContext context, IPasswordHasher passwordHasher, IMapper mapper)
 {
     _context        = context;
     _passwordHasher = passwordHasher;
     _mapper         = mapper;
 }
 public QueryHandler(ConduitContext context, ICurrentUserAccessor currentUserAccessor, IProfileReader profileReader)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
     _profileReader       = profileReader;
 }
Пример #6
0
 public ProfileReader(ConduitContext context, ICurrentUserAccessor currentUserAccessor)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
 }
Пример #7
0
 public QueryHandler(ConduitContext context, IJwtTokenGenerator jwtTokenGenerator, IMapper mapper)
 {
     _context           = context;
     _jwtTokenGenerator = jwtTokenGenerator;
     _mapper            = mapper;
 }
 public TagsController(ConduitContext context)
 {
     this.context = context ?? throw new System.ArgumentNullException(nameof(context));
 }
Пример #9
0
 public CommandHandler(ConduitContext context)
 {
     _context = context;
 }
Пример #10
0
 public Handler(ConduitContext db, IPasswordHasher passwordHasher)
 {
     _db             = db;
     _passwordHasher = passwordHasher;
 }
Пример #11
0
 public Handler(ConduitContext db, IPasswordHasher passwordHasher, ICurrentUserAccessor currentUserAccessor)
 {
     _db                  = db;
     _passwordHasher      = passwordHasher;
     _currentUserAccessor = currentUserAccessor;
 }
Пример #12
0
 public Handler(ConduitContext db)
 {
     _db = db;
 }
 public Handler(ConduitContext db, IPasswordHasher passwordHasher, IMapper mapper)
 {
     _db             = db;
     _passwordHasher = passwordHasher;
     _mapper         = mapper;
 }
 public Handler(ConduitContext context)
 {
     _context = context;
 }
Пример #15
0
 public QueryHandler(ConduitContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public ProfileReader(ConduitContext context, ICurrentUserAccessor currentUserAccessor, IMapper mapper)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
     _mapper = mapper;
 }
Пример #17
0
 public Handler(ConduitContext db, IPasswordHasher passwordHasher, IJwtTokenGenerator jwtTokenGenerator)
 {
     _db                = db;
     _passwordHasher    = passwordHasher;
     _jwtTokenGenerator = jwtTokenGenerator;
 }