コード例 #1
0
 public static void FromJArray <T>(this ObservableCollection <T> list, JArray ja) where T : LS1APISpecObject, new()
 {
     list.Clear();
     if (ja == null)
     {
         return;
     }
     for (int i = 0; i < ja.Count; i++)
     {
         list.Add(LS1APISpecObject.FromJObject <T>(ja.GetAt(i)));
     }
 }