public EventSubscriptionManager(EventAggregator aggregator) { Check.NotNull(aggregator, nameof(aggregator)); _subscriptions = new List <IEventSubscription>(); IEventSubscriptionRepository repository = aggregator; repository.AddSubscriptionStore(this); }