public TransactedActionFilter(ITransactionContext transactionContext, EventDispatchHandler dispatchHandler, ILocalEventsManager domainEvents)
 {
     if (transactionContext == null) throw new ArgumentNullException("transactionContext");
     _transactionContext = transactionContext;
     _dispatchHandler = dispatchHandler;
     _domainEvents = domainEvents;
 }
 public NHibernateDomainEventListener(ILocalEventsManager domainEventStore)
 {
     if (domainEventStore == null)
     {
         throw new ArgumentNullException("domainEventStore");
     }
     _domainEventStore = domainEventStore;
 }
Beispiel #3
0
 public TransactedActionFilter(ITransactionContext transactionContext, EventDispatchHandler dispatchHandler, ILocalEventsManager domainEvents)
 {
     if (transactionContext == null)
     {
         throw new ArgumentNullException("transactionContext");
     }
     _transactionContext = transactionContext;
     _dispatchHandler    = dispatchHandler;
     _domainEvents       = domainEvents;
 }
 public HomeController(IRepository<Forum> forumRepo, ILocalEventsManager events)
 {
     _forumRepo = forumRepo;
     _events = events;
 }
 public NHibernateDomainEventListener(ILocalEventsManager domainEventStore)
 {
     if (domainEventStore == null) throw new ArgumentNullException("domainEventStore");
     _domainEventStore = domainEventStore;
 }
 public HomeController(IRepository <Forum> forumRepo, ILocalEventsManager events)
 {
     _forumRepo = forumRepo;
     _events    = events;
 }