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