public CreateCategoryCommandHandler(IBlogEngineRepository <BlogCategoryEntity, int> blogCategoryRepository,
                                     INotificationHandler <DomainNotification> notifications,
                                     IEventDispatcher eventDispatcher,
                                     IBlogEngineUow uow) : base(notifications, eventDispatcher, uow)
 {
     _blogCategoryRepository = blogCategoryRepository;
     _eventDispatcher        = eventDispatcher;
 }
示例#2
0
 public CommandHandler(INotificationHandler <DomainNotification> notifications, IEventDispatcher eventDispatcher, IBlogEngineUow uow)
 {
     _notifications   = (DomainNotificationHandler)notifications;
     _eventDispatcher = eventDispatcher;
     _uow             = uow;
 }