Exemple #1
0
        private async void load(string url)
        {
            HMS.SP.App spApp = await SPGet.getApp(spglb.myClient, url);

            this.add_App(1, spApp);
            this.hide_running();
        }
Exemple #2
0
 public int  add_App(int pos, int level, HMS.SP.App spApp)
 {
     if (spApp.__HMSError_ != null && (spApp.__HMSError_.errno != 0 || spApp.__HMSError_.info != ""))
     {
         pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spApp.__HMSError_));
     }
     pos = this.add__deferred(pos, level, spApp.__deferred_);
     pos = this.add__metadata(pos, level, spApp.__metadata_);
     pos = this.add__rest(pos, level, spApp.__rest);
     pos = this.add_lineAt(pos, level, "AssetId", HMS.SP.SPUtil.toString(spApp.AssetId_));             //Undefined;
     pos = this.add_lineAt(pos, level, "ContentMarket", HMS.SP.SPUtil.toString(spApp.ContentMarket_)); //Undefined;
     pos = this.add_lineAt(pos, level, "VersionString", HMS.SP.SPUtil.toString(spApp.VersionString_)); //Undefined;
     return(pos);
 }
Exemple #3
0
 public int add_App_deferred(int pos, int level, HMS.SP.App spApp)
 {
     {
         string useUrl = spApp.__deferred_.uri;
         if (!String.IsNullOrEmpty(useUrl))
         {
             pos = this.add_lineAt(pos, level, false, "App", "", knownPages.pageApp, useUrl);
         }
         else
         {
             pos = this.add_lineAt(pos, level, true, "App", "", knownPages.NONE, "");
             pos = this.add_App(pos, level + 1, spApp);
         }
     }
     return(pos);
 }
Exemple #4
0
 public int add_App(int level, HMS.SP.App spApp)
 {
     return(add_App(-1, level, spApp));
 }