예제 #1
0
 public static void Clear <T>(this ISerializable entity, ref HashSet <T> set)
 {
     Utility.Clear(ref set);
     entity.MarkDirty();
 }
예제 #2
0
 public static void Clear <K, V>(this ISerializable entity, ref Dictionary <K, V> dict)
 {
     Utility.Clear(ref dict);
     entity.MarkDirty();
 }
예제 #3
0
 public static void Clear <T>(this ISerializable entity, ref List <T> list)
 {
     Utility.Clear(ref list);
     entity.MarkDirty();
 }