private void method_9(object sender, int index, DxfField oldItem, DxfField newItem) { if (oldItem == newItem) { return; } oldItem.vmethod_2((IDxfHandledObject)null); newItem.vmethod_2((IDxfHandledObject)this); }
public override IGraphCloneable Clone(CloneContext cloneContext) { DxfField dxfField = (DxfField)cloneContext.GetExistingClone((IGraphCloneable)this); if (dxfField == null) { dxfField = new DxfField(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfField); dxfField.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)dxfField); }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfField dxfField = (DxfField)from; this.string_0 = dxfField.string_0; this.string_1 = dxfField.string_1; foreach (DxfHandledObject dxfHandledObject in dxfField.activeList_0) { this.activeList_0.Add((DxfField)dxfHandledObject.Clone(cloneContext)); } if (cloneContext.SourceModel == cloneContext.TargetModel) { this.list_0.AddRange((IEnumerable <DxfHandledObject>)dxfField.list_0); } else { foreach (DxfHandledObject dxfHandledObject in dxfField.list_0) { this.list_0.Add((DxfHandledObject)dxfHandledObject.Clone(cloneContext)); } } this.string_2 = dxfField.string_2; this.fieldEvaluationOptionFlags_0 = dxfField.fieldEvaluationOptionFlags_0; this.filingOptionFlags_0 = dxfField.filingOptionFlags_0; this.fieldStateFlags_0 = dxfField.fieldStateFlags_0; this.evaluationStatusFlags_0 = dxfField.evaluationStatusFlags_0; this.int_0 = dxfField.int_0; this.string_3 = dxfField.string_3; this.string_4 = dxfField.string_4; this.dxfValue_0 = dxfField.dxfValue_0.Clone(cloneContext); this.string_5 = dxfField.string_5; foreach (KeyValuePair <string, DxfValue> keyValuePair in dxfField.dictionary_0) { this.dictionary_0.Add(keyValuePair.Key, this.dxfValue_0.Clone(cloneContext)); } }
private void method_10(object sender, int index, DxfField item) { item.vmethod_2((IDxfHandledObject)null); }
private void method_8(object sender, int index, DxfField item) { item.vmethod_2((IDxfHandledObject)this); }