示例#1
0
 public Settings(string s, Kirin k, ISettingsBackend backend)
     : base(s, k, false)
 {
     this.backend = backend;
     KirinAssistant.jsMethod("mergeOrOverwrite", new object[] { PrepareSettingsObject(backend.Retrieve()) });
     KirinAssistant.jsMethod("resetEnvironment");
 }
示例#2
0
 public void requestPopulateJSWithCallback_(string callback)
 {
     KirinAssistant.executeCallback(callback, new object[] { PrepareSettingsObject(backend.Retrieve()) });
 }
示例#3
0
 public KirinExtension(string moduleName, Kirin k, bool isGwt = true)
 {
     this.moduleName = moduleName;
     KirinAssistant  = k.BindScreen(this, moduleName, isGwt);
     KirinAssistant.onLoad();
 }