public void Add(EventRepeatedField <T> other) { foreach (var v in other) { InternalAdd(v); #if !DISABLE_EVENTS AddListEvent(v); #endif } }
public void Add(EventRepeatedField <T> other) { foreach (var v in other) { if (v is IDeepCloneable <T> ) { InternalAdd(((IDeepCloneable <T>)v).Clone()); } else { InternalAdd(v); } } }