public void WriteJson(TStringList ML)
        {
            EventDataJson obj = GetEventDataJson();
            string        s   = JsonConvert.SerializeObject(obj, Formatting.Indented);

            ML.Text = s;
        }
Esempio n. 2
0
        public string[] AspNetUrlInfo()
        {
            TStringList sl = new TStringList();

            Dummy.ApiCol.GetApiList(sl, ApiControllerEnum.Delphi, true);
            return(sl.ToArray());
        }
 public JsonInfo(TBO abo)
 {
     BO = abo;
     //ee = new TExcelExporter();
     Memo = new TStringList();
     SL   = new List <string>();
     SL.Clear();
     EmptyStrings = SL.ToArray();
 }
 public string[] MemoStrings(TStringList Memo)
 {
     SL.Clear();
     for (int i = 0; i < Memo.Count; i++)
     {
         if (Memo.Strings(i) != string.Empty)
         {
             SL.Add(Memo.Strings(i));
         }
     }
     return(SL.ToArray());
 }
Esempio n. 5
0
 public void BackupPenalties(TStringList Memo, int r)
 {
 }