Beispiel #1
0
 protected HandleDomainEventsBase(IDomainEventDispatcher domainEventDispatcher)
 {
     domainEventDispatcher.Subscribe <T>(this);
 }
Beispiel #2
0
 public Match(IDomainEventDispatcher dispatcher) : base(dispatcher)
 {
     domainEventDispatcher = dispatcher;
     dispatcher.Subscribe <InvalidPlay>(this);
 }
Beispiel #3
0
 public HandleDomainEventsBase(IDomainEventDispatcher domainEventDispatcher, string subscriberId)
 {
     SubscriberId = subscriberId;
     domainEventDispatcher.Subscribe <T>(this);
 }