コード例 #1
0
 public SeedIdentityCommandHandler(IIdentityDataContext context, UserManager <ApplicationUser> userManager,
                                   RoleManager <ApplicationRole> roleManager)
 {
     _context     = context;
     _userManager = userManager;
     _roleManager = roleManager;
 }
 public UpdateUserPasswordCommandHandler(IUserManagerService userManagerService, IIdentityDataContext dataContext,
                                         IMediator mediator, ILogger <UpdateUserPasswordCommandHandler> logger)
 {
     _userManagerService = userManagerService;
     _dataContext        = dataContext;
     _mediator           = mediator;
     _logger             = logger;
 }
コード例 #3
0
 public RegisterUserCommandHandler(IIdentityDataContext dataContext, IMapper mapper,
                                   ILogger <RegisterUserCommandHandler> logger,
                                   IMediator mediator, IUserManagerService userManagerService)
 {
     _dataContext        = dataContext;
     _mapper             = mapper;
     _logger             = logger;
     _mediator           = mediator;
     _userManagerService = userManagerService;
 }
コード例 #4
0
 public RemoveUserRoleCommandHandler(IIdentityDataContext dataContext, IUserManagerService userManagerService)
 {
     _dataContext        = dataContext;
     _userManagerService = userManagerService;
 }
コード例 #5
0
 public UpdateUserInfoCommandHandler(IIdentityDataContext dataContext, IUserManagerService userManager)
 {
     _dataContext = dataContext;
     _userManager = userManager;
 }