override public void CopyFrom(ICopyableAttribute other) { this.BatchUpdate(() => { List <T> list = new List <T>(); foreach (var it in (other as ListAttribute <T>).Value) { list.Add(it == null ? null : (T)it.Clone()); } this.Value = list.ToArray(); }); }
virtual public void CopyFrom(ICopyableAttribute other) { this.Value = (other as Attribute <T>).Value; }