public EventsController(IEventsFactory eventsFactory,
                         IRepetitionFactory repetitionFactory,
                         IEventsContainer eventContainer)
 {
     this.eventContainer    = eventContainer;
     this.repetitionFactory = repetitionFactory;
     this.eventsFactory     = eventsFactory;
 }
示例#2
0
 public void RemoveEventContainer(IEventsContainer container)
 {
     _eventsContainers.Remove(container, out _);
 }
示例#3
0
 public void TryAddEventContainer(IEventsContainer container)
 {
     _eventsContainers.TryAdd(container, 1);
 }