예제 #1
0
 public UserController(UserManager <User> user, IUserAppService userAppService, INotificationHandler <DomainNotificationEvent> notification, ClaimTypeRepository claimTypeRepository)
 {
     _user = user;
     this._userAppService      = userAppService;
     this._notification        = notification as DomainNotificationEventHandler;
     this._claimTypeRepository = claimTypeRepository;
 }
예제 #2
0
 protected HandlerBase(
     HandlerBaseParameters handlerBaseParameters
     )
 {
     InMemoryBus       = handlerBaseParameters.InMemoryBus;
     UserSessionInfo   = handlerBaseParameters.UserSessionInfo;
     GlobalizationInfo = handlerBaseParameters.GlobalizationInfo;
     DomainNotificationEventHandler = handlerBaseParameters.DomainNotificationEventHandler;
 }
예제 #3
0
 public HandlerBaseParameters(
     IInMemoryBus inMemoryBus,
     IUserSessionInfo userSessionInfo,
     IGlobalizationInfo globalizationInfo,
     DomainNotificationEventHandler domainNotificationEventHandler)
 {
     InMemoryBus       = inMemoryBus;
     UserSessionInfo   = userSessionInfo;
     GlobalizationInfo = globalizationInfo;
     DomainNotificationEventHandler = domainNotificationEventHandler;
 }
예제 #4
0
 public DomainServiceParameters(
     IUserSessionInfo userSessionInfo,
     IGlobalizationInfo globalizationInfo,
     IInMemoryBus inMemoryBus,
     DomainNotificationEventHandler domainNotificationEventHandler)
 {
     UserSessionInfo   = userSessionInfo;
     GlobalizationInfo = globalizationInfo;
     InMemoryBus       = inMemoryBus;
     DomainNotificationEventHandler = domainNotificationEventHandler;
 }
예제 #5
0
 public CommandHandler(IMediatorHandler bus, DomainNotificationEventHandler notificationEventHandler, IUnitOfWork unitOfWork)
 {
     this._bus          = bus;
     this._notification = notificationEventHandler;
     this._unitOfWork   = unitOfWork;
 }