public ITransientSubscriptionHandlerExpression HandleEvent <T>() where T : Event
 {
     _subscribedEventTypes.Add(typeof(T));
     _filterBuilder.HandleEvent <T>();
     return(this);
 }
 public IPersistentSubscriptionHandlerExpression HandleEvent <T>() where T : Event
 {
     _filterBuilder.HandleEvent <T>();
     _eventTypes.Add(typeof(T));
     return(this);
 }