override public IConstruct DeepCopy() { AM <T> other = ShallowCopy(); other.Set((T)Copy(_content)); return(other); }
IConstruct DeepCopy(T t) { AM <T> other = ShallowCopy(); other.DeepCopy(); other.Set((T)Copy(_content)); return(other); }
public void Set(T value, bool notify) { AM <T> oldContent = new AM <T>(); oldContent.Set(_content); _content = value; // Debug(_content); if (notify == true) { Raise(this, oldContent); } }
IConstruct Copy(T t) { if (t is ValueType) { T s = default(T); s = t; AM <T> amt = new AM <T>(); amt.Set(s); return(amt); } else { return((t as IConstruct).DeepCopy()); } }