Example #1
0
 public static void MergeList <T>(this IList <T> p_list, IList <T> p_otherList)
 {
     if (p_otherList != null)
     {
         foreach (T v_object in p_otherList)
         {
             p_list.AddChecking(v_object);
         }
     }
 }
Example #2
0
 public static void MergeList <T>(this IList <T> list, IList <T> other)
 {
     if (list != null && other != null)
     {
         for (int i = 0; i < other.Count; i++)
         {
             list.AddChecking(other[i]);
         }
     }
 }