Ejemplo n.º 1
0
 protected IContextDefinition RegisterPublicEvents(params Type[] types)
 {
     Events.Load(types);
     PublicEvents.Load(types);
     return(this);
 }
Ejemplo n.º 2
0
 protected IContextDefinition RegisterPublicEvent <TEvent>() where TEvent : IAggregateEvent
 {
     Events.Load(typeof(TEvent));
     PublicEvents.Load(typeof(TEvent));
     return(this);
 }