public Handler(RealWorldContext db, IPasswordHasher passwordHasher, IJwtTokenGenerator jwtTokenGenerator)
 {
     _db                = db;
     _passwordHasher    = passwordHasher;
     _jwtTokenGenerator = jwtTokenGenerator;
 }
 public QueryHandler(RealWorldContext context, ICurrentUserAccessor currentUserAccessor)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
 }
 public Handler(RealWorldContext db, ICurrentUserAccessor currentUserAccessor)
 {
     _db = db;
     _currentUserAccessor = currentUserAccessor;
 }
 public QueryHandler(RealWorldContext context)
 {
     _context = context;
 }
예제 #5
0
 public Handler(RealWorldContext db)
 {
     _db = db;
 }
 public ProfileReader(RealWorldContext context, ICurrentUserAccessor currentUserAccessor)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
 }
 public QueryHandler(RealWorldContext context, ICurrentUserAccessor currentUserAccessor, IProfileReader profileReader)
 {
     _context             = context;
     _currentUserAccessor = currentUserAccessor;
     _profileReader       = profileReader;
 }
 public Handler(RealWorldContext db, IPasswordHasher passwordHasher)
 {
     _db             = db;
     _passwordHasher = passwordHasher;
 }
 public Handler(RealWorldContext db, IPasswordHasher passwordHasher, ICurrentUserAccessor currentUserAccessor)
 {
     _db                  = db;
     _passwordHasher      = passwordHasher;
     _currentUserAccessor = currentUserAccessor;
 }