public KirinAssistant(object nativeObject, string moduleName, KirinWebViewHolder holder, NativeContext context, bool isGwt) { this.nativeObject = nativeObject; this.moduleName = moduleName; this.holder = holder; this.context = context; context.RegisterNativeObject(nativeObject, moduleName, isGwt); }
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); }