コード例 #1
0
        public EventSubscriptionManager(EventAggregator aggregator)
        {
            Check.NotNull(aggregator, nameof(aggregator));

            _subscriptions = new List <IEventSubscription>();

            IEventSubscriptionRepository repository = aggregator;

            repository.AddSubscriptionStore(this);
        }