public DxfValue Clone(CloneContext cloneContext) { DxfValue dxfValue = new DxfValue(); DxfObjectReference object0 = this.object_0 as DxfObjectReference; dxfValue.object_0 = object0 == null ? this.object_0 : (object)((DxfHandledObject)((DxfHandledObject)object0.Value).Clone(cloneContext)).Reference; dxfValue.string_0 = this.string_0; dxfValue.dxfValueFormat_0 = this.dxfValueFormat_0 == null ? (DxfValueFormat)null : this.dxfValueFormat_0.Clone(); dxfValue.int_0 = this.int_0; return(dxfValue); }
public T this[int index] { get { return((T)this.list_0[index].Value); } set { T oldItem = (T)this.list_0[index].Value; this.OnSetting(index, oldItem, value); this.list_0[index] = DxfObjectReference.GetReference((IDxfHandledObject)value); this.OnSet(index, oldItem, value); } }
public virtual IGraphCloneable Clone(CloneContext cloneContext) { DxfObjectReference dxfObjectReference = (DxfObjectReference)cloneContext.GetExistingClone((IGraphCloneable)this); if (dxfObjectReference == null) { if (cloneContext.TargetModel == cloneContext.SourceModel) { dxfObjectReference = this; } else { dxfObjectReference = new DxfObjectReference(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfObjectReference); IGraphCloneable idxfHandledObject0 = (IGraphCloneable)this.idxfHandledObject_0; dxfObjectReference.Value = (IDxfHandledObject)idxfHandledObject0.Clone(cloneContext); } } return((IGraphCloneable)dxfObjectReference); }
public DxfHandledObject(DxfHandledObject ownerObjectSoftReference) : this() { this.dxfObjectReference_1 = ownerObjectSoftReference == null ? DxfObjectReference.Null : ownerObjectSoftReference.Reference; }
public DxfHandledObject() { this.dxfObjectReference_0 = new DxfObjectReference((IDxfHandledObject)this); }
internal virtual void vmethod_2(IDxfHandledObject ownerObjectSoftReference) { this.dxfObjectReference_1 = DxfObjectReference.GetReference(ownerObjectSoftReference); }
public void SetValue(DxfHandledObject value) { this.object_0 = (object)DxfObjectReference.GetReference((IDxfHandledObject)value); this.string_0 = (string)null; }
public DxfTypedObjectReference(ReferenceType referenceType, DxfObjectReference objectReference) { this.referenceType_0 = referenceType; this.dxfObjectReference_0 = objectReference; }
public void method_0(DxfObjectReference objectReference) { this.action_0(objectReference); }
public int Compare(DxfObjectReference x, DxfObjectReference y) { return(this.icomparer_0.Compare((U)x.Value, (U)y.Value)); }