public virtual void CopyFrom(Type1 other) { Prop1 = other.Prop1; Prop2 = other.Prop2; Prop3 = other.Prop3; Prop4 = other.Prop4; Prop5 = other.Prop5; if (other.compLazy != null) { CompLazy.CopyFrom(other.CompLazy); } else { if (this.compLazy != null) this.compLazy.CopyFrom(new Type2()); } Comp.CopyFrom(other.Comp); }
public Type1(Type1 other) : base(other) { }