private Kirin(string assemblyName, IKirinPlatform platform) { holder = new KirinWebViewHolder(context = new NativeContext(), platform.GetWebBrowserWrapper()); BindScreen(new DebugConsole(), "DebugConsole", isGwt: false); platform.GetNetworking("NetworkingService", this); new Settings("Settings", this, platform.GetSettingsBackend()); new KirinWindows.Core.SymbolMaps(this, platform.GetFileBackend(assemblyName)); DBService db = new KirinWindows.Core.DBService(this); new KirinWindows.Core.TXService(db, this); }
public static void Initialize(string assemblyName, IKirinPlatform platform) { instance = new Kirin(assemblyName, platform); }