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

            this.add_FieldCurrency(1, spFieldCurrency);
            this.hide_running();
        }
Ejemplo n.º 2
0
 public int  add_FieldCurrency(int pos, int level, HMS.SP.FieldCurrency spFieldCurrency)
 {
     if (spFieldCurrency.__HMSError_ != null && (spFieldCurrency.__HMSError_.errno != 0 || spFieldCurrency.__HMSError_.info != ""))
     {
         pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spFieldCurrency.__HMSError_));
     }
     pos = this.add__deferred(pos, level, spFieldCurrency.__deferred_);
     pos = this.add__metadata(pos, level, spFieldCurrency.__metadata_);
     pos = this.add__rest(pos, level, spFieldCurrency.__rest);
     pos = this.add_lineAt(pos, level, "CurrencyLocaleId", HMS.SP.SPUtil.toString(spFieldCurrency.CurrencyLocaleId_)); //Number;
     return(pos);
 }
Ejemplo n.º 3
0
 public int add_FieldCurrency_deferred(int pos, int level, HMS.SP.FieldCurrency spFieldCurrency)
 {
     {
         string useUrl = spFieldCurrency.__deferred_.uri;
         if (!String.IsNullOrEmpty(useUrl))
         {
             pos = this.add_lineAt(pos, level, false, "FieldCurrency", "", knownPages.pageFieldCurrency, useUrl);
         }
         else
         {
             pos = this.add_lineAt(pos, level, true, "FieldCurrency", "", knownPages.NONE, "");
             pos = this.add_FieldCurrency(pos, level + 1, spFieldCurrency);
         }
     }
     return(pos);
 }
Ejemplo n.º 4
0
 public int add_FieldCurrency(int level, HMS.SP.FieldCurrency spFieldCurrency)
 {
     return(add_FieldCurrency(-1, level, spFieldCurrency));
 }