Exemplo n.º 1
0
        private async void load(string url)
        {
            HMS.SP.AccessRequests spAccessRequests = await SPGet.getAccessRequests(spglb.myClient, url);

            this.add_AccessRequests(1, spAccessRequests);
            this.hide_running();
        }
Exemplo n.º 2
0
        public int  add_AccessRequests(int pos, int level, HMS.SP.AccessRequests spAccessRequests)
        {
            if (spAccessRequests.__HMSError_ != null && (spAccessRequests.__HMSError_.errno != 0 || spAccessRequests.__HMSError_.info != ""))
            {
                pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spAccessRequests.__HMSError_));
            }
            pos = this.add__deferred(pos, level, spAccessRequests.__deferred_);
            pos = this.add__metadata(pos, level, spAccessRequests.__metadata_);
            pos = this.add__rest(pos, level, spAccessRequests.__rest);

            return(pos);
        }
Exemplo n.º 3
0
 public int add_AccessRequests_deferred(int pos, int level, HMS.SP.AccessRequests spAccessRequests)
 {
     {
         string useUrl = spAccessRequests.__deferred_.uri;
         if (!String.IsNullOrEmpty(useUrl))
         {
             pos = this.add_lineAt(pos, level, false, "AccessRequests", "", knownPages.pageAccessRequests, useUrl);
         }
         else
         {
             pos = this.add_lineAt(pos, level, true, "AccessRequests", "", knownPages.NONE, "");
             pos = this.add_AccessRequests(pos, level + 1, spAccessRequests);
         }
     }
     return(pos);
 }
Exemplo n.º 4
0
 public int add_AccessRequests(int level, HMS.SP.AccessRequests spAccessRequests)
 {
     return(add_AccessRequests(-1, level, spAccessRequests));
 }