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; }
protected HandlerBase( HandlerBaseParameters handlerBaseParameters ) { InMemoryBus = handlerBaseParameters.InMemoryBus; UserSessionInfo = handlerBaseParameters.UserSessionInfo; GlobalizationInfo = handlerBaseParameters.GlobalizationInfo; DomainNotificationEventHandler = handlerBaseParameters.DomainNotificationEventHandler; }
public HandlerBaseParameters( IInMemoryBus inMemoryBus, IUserSessionInfo userSessionInfo, IGlobalizationInfo globalizationInfo, DomainNotificationEventHandler domainNotificationEventHandler) { InMemoryBus = inMemoryBus; UserSessionInfo = userSessionInfo; GlobalizationInfo = globalizationInfo; DomainNotificationEventHandler = domainNotificationEventHandler; }
public DomainServiceParameters( IUserSessionInfo userSessionInfo, IGlobalizationInfo globalizationInfo, IInMemoryBus inMemoryBus, DomainNotificationEventHandler domainNotificationEventHandler) { UserSessionInfo = userSessionInfo; GlobalizationInfo = globalizationInfo; InMemoryBus = inMemoryBus; DomainNotificationEventHandler = domainNotificationEventHandler; }
public CommandHandler(IMediatorHandler bus, DomainNotificationEventHandler notificationEventHandler, IUnitOfWork unitOfWork) { this._bus = bus; this._notification = notificationEventHandler; this._unitOfWork = unitOfWork; }