Ejemplo n.º 1
0
        public static void RegisterEventSource(IEventSource source)
        {
            Container.BuildUp(source);
            _eventSources.Add(source);

            AddonRegistered?.Invoke(null, new EventArgs());
        }
Ejemplo n.º 2
0
        public static void RegisterOverlay <T>()
            where T : class, IOverlay
        {
            _overlays.Add(typeof(T));
            Container.Register <T>();

            AddonRegistered?.Invoke(null, new EventArgs());
        }