public static void RegisterEventSource(IEventSource source) { Container.BuildUp(source); _eventSources.Add(source); AddonRegistered?.Invoke(null, new EventArgs()); }
public static void RegisterOverlay <T>() where T : class, IOverlay { _overlays.Add(typeof(T)); Container.Register <T>(); AddonRegistered?.Invoke(null, new EventArgs()); }