Ejemplo n.º 1
0
        private async void load(string url)
        {
            HMS.SP.ListCreationInformation spListCreationInformation = await SPGet.getListCreationInformation(spglb.myClient, url);

            this.add_ListCreationInformation(1, spListCreationInformation);
            this.hide_running();
        }
Ejemplo n.º 2
0
 public int add_ListCreationInformation_deferred(int pos, int level, HMS.SP.ListCreationInformation spListCreationInformation)
 {
     {
         string useUrl = spListCreationInformation.__deferred_.uri;
         if (!String.IsNullOrEmpty(useUrl))
         {
             pos = this.add_lineAt(pos, level, false, "ListCreationInformation", "", knownPages.pageListCreationInformation, useUrl);
         }
         else
         {
             pos = this.add_lineAt(pos, level, true, "ListCreationInformation", "", knownPages.NONE, "");
             pos = this.add_ListCreationInformation(pos, level + 1, spListCreationInformation);
         }
     }
     return(pos);
 }
Ejemplo n.º 3
0
 public int  add_ListCreationInformation(int pos, int level, HMS.SP.ListCreationInformation spListCreationInformation)
 {
     if (spListCreationInformation.__HMSError_ != null && (spListCreationInformation.__HMSError_.errno != 0 || spListCreationInformation.__HMSError_.info != ""))
     {
         pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spListCreationInformation.__HMSError_));
     }
     pos = this.add__deferred(pos, level, spListCreationInformation.__deferred_);
     pos = this.add__metadata(pos, level, spListCreationInformation.__metadata_);
     pos = this.add__rest(pos, level, spListCreationInformation.__rest);
     pos = this.add_lineAt(pos, level, "CustomSchemaXml", HMS.SP.SPUtil.toString(spListCreationInformation.CustomSchemaXml_));           //String;
     pos = this.add_lineAt(pos, level, "DataSourceProperties", HMS.SP.SPUtil.toString(spListCreationInformation.DataSourceProperties_)); //Dictionary;
     pos = this.add_lineAt(pos, level, "Description", HMS.SP.SPUtil.toString(spListCreationInformation.Description_));                   //String;
     pos = this.add_lineAt(pos, level, "DocumentTemplateType", HMS.SP.SPUtil.toString(spListCreationInformation.DocumentTemplateType_)); //Number;
     pos = this.add_lineAt(pos, level, "QuickLaunchOption", HMS.SP.SPUtil.toString(spListCreationInformation.QuickLaunchOption_));       //Number;
     pos = this.add_lineAt(pos, level, "TemplateFeatureId", HMS.SP.SPUtil.toString(spListCreationInformation.TemplateFeatureId_));       //Guid;
     pos = this.add_lineAt(pos, level, "TemplateType", HMS.SP.SPUtil.toString(spListCreationInformation.TemplateType_));                 //Number;
     pos = this.add_lineAt(pos, level, "Title", HMS.SP.SPUtil.toString(spListCreationInformation.Title_));                               //String;
     pos = this.add_lineAt(pos, level, "TypeId", HMS.SP.SPUtil.toString(spListCreationInformation.TypeId_));                             //String;
     pos = this.add_lineAt(pos, level, "Url", HMS.SP.SPUtil.toString(spListCreationInformation.Url_));                                   //String;
     return(pos);
 }
Ejemplo n.º 4
0
 public int add_ListCreationInformation(int level, HMS.SP.ListCreationInformation spListCreationInformation)
 {
     return(add_ListCreationInformation(-1, level, spListCreationInformation));
 }