internal static async void InitAsync() { WindowClosedHandler.Init(); RegistryFileNotFoundHandler.Init(); await RegistryManagers.Reload(); // UNDONE: Scan other assemblies & run its code, like bukkit plugin in Minecraft }
private static async void Handler(object sender, WindowEventArgs args) { await RegistryManagers.SaveAll(); }