Exemple #1
0
        //public Color TestC { get; set; }

        public void Load(JObject value)
        {
            Name = value.Property("Name").Value.ToString();
            JArray TestlArray = value.Property("Testl").Value as JArray;

            for (int i = 0; i < TestlArray.Count; ++i)
            {
                Test_Testl val = new Test_Testl();
                val.Load(TestlArray[i] as JObject);
                Testl.Add(val);
            }
            Tests      = value.Property("Test").Value.ToString();
            TestRefKey = value.Property("TestRef").Value.ToString();
            //TestC.FromUInt(uint.Parse(value.Property("TestC").Value.ToString());
        }
Exemple #2
0
 //public Color TestC { get; set; }
 public void Load(JObject value)
 {
     Name = value.Property("Name").Value.ToString();
     JArray TestlArray = value.Property("Testl").Value as JArray;
     for (int i = 0; i < TestlArray.Count; ++i) {
     Test_Testl val = new Test_Testl();
     val.Load(TestlArray[i] as JObject);
     Testl.Add(val);
     }
     Tests = value.Property("Test").Value.ToString();
     TestRefKey = value.Property("TestRef").Value.ToString();
     //TestC.FromUInt(uint.Parse(value.Property("TestC").Value.ToString());
 }