protected BaseMyClass(BaseMyClass other) { this.x = other.X; this.y = other.Y; this.children = new ObservableList<MyClass>(); AddChildrenListListeners(this.children); this.children.AddRange(other.Children); this.ps = other.Ps; AddPsListeners(this.ps); this.p = other.P; AddPListeners(this.p); }
protected BaseMyClass(BaseMyClass other) { this.x = other.X; this.y = other.Y; this.children = new ObservableList <MyClass>(); AddChildrenListListeners(this.children); this.children.AddRange(other.Children); this.ps = other.Ps; AddPsListeners(this.ps); this.p = other.P; AddPListeners(this.p); }