protected BaseType1(BaseType1 other) { this.prop1 = other.Prop1; AddProp1Listeners(this.prop1); if (other.comp1 != null) { this.comp1 = new Type2(other.Comp1); AddComp1Listeners(this.comp1); } if (other.col1 != null) { this.col1 = new ObservableList<Type2>(); AddCol1ListListeners(this.col1); this.col1.AddRange(other.Col1); } }
protected BaseType1(BaseType1 other) { this.prop1 = other.Prop1; AddProp1Listeners(this.prop1); if (other.comp1 != null) { this.comp1 = new Type2(other.Comp1); AddComp1Listeners(this.comp1); } if (other.col1 != null) { this.col1 = new ObservableList <Type2>(); AddCol1ListListeners(this.col1); this.col1.AddRange(other.Col1); } }