Beispiel #1
0
        private async void load(string url)
        {
            HMS.SP.AppLicense spAppLicense = await SPGet.getAppLicense(spglb.myClient, url);

            this.add_AppLicense(1, spAppLicense);
            this.hide_running();
        }
Beispiel #2
0
 public int  add_AppLicense(int pos, int level, HMS.SP.AppLicense spAppLicense)
 {
     if (spAppLicense.__HMSError_ != null && (spAppLicense.__HMSError_.errno != 0 || spAppLicense.__HMSError_.info != ""))
     {
         pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spAppLicense.__HMSError_));
     }
     pos = this.add__deferred(pos, level, spAppLicense.__deferred_);
     pos = this.add__metadata(pos, level, spAppLicense.__metadata_);
     pos = this.add__rest(pos, level, spAppLicense.__rest);
     pos = this.add_lineAt(pos, level, "RawXMLLicenseToken", HMS.SP.SPUtil.toString(spAppLicense.RawXMLLicenseToken_)); //String;
     return(pos);
 }
Beispiel #3
0
 public int add_AppLicense_deferred(int pos, int level, HMS.SP.AppLicense spAppLicense)
 {
     {
         string useUrl = spAppLicense.__deferred_.uri;
         if (!String.IsNullOrEmpty(useUrl))
         {
             pos = this.add_lineAt(pos, level, false, "AppLicense", "", knownPages.pageAppLicense, useUrl);
         }
         else
         {
             pos = this.add_lineAt(pos, level, true, "AppLicense", "", knownPages.NONE, "");
             pos = this.add_AppLicense(pos, level + 1, spAppLicense);
         }
     }
     return(pos);
 }
Beispiel #4
0
 public int add_AppLicense(int level, HMS.SP.AppLicense spAppLicense)
 {
     return(add_AppLicense(-1, level, spAppLicense));
 }