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