public copyFrom ( |
||
source | ||
return | void |
public void copyFrom(RelationDef source)
{
this.percent = source.percent;
this.type = source.type;
}
public void CopyFrom(RelationItem source) { this.target = source.target; _defs.Clear(); foreach (RelationDef info in source._defs) { RelationDef info2 = new RelationDef(); info2.copyFrom(info); _defs.Add(info2); } }