protected DxfAttributeBase(DxfAttributeBase attributeBase) : base((DxfText)attributeBase) { this.string_5 = attributeBase.string_5; this.attributeFlags_0 = attributeBase.attributeFlags_0; this.bool_3 = attributeBase.bool_3; }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfAttributeBase dxfAttributeBase = (DxfAttributeBase)from; this.string_5 = dxfAttributeBase.string_5; this.attributeFlags_0 = dxfAttributeBase.attributeFlags_0; this.bool_3 = dxfAttributeBase.bool_3; this.dxfAttributeBase_0 = dxfAttributeBase.dxfAttributeBase_0; }
internal void method_19() { if (this.ExtensionDictionary == null) { return; } DxfObject valueByName = this.ExtensionDictionary.GetValueByName("ACAD_MLATT"); if (!(valueByName is DxfXRecord)) { return; } DxfXRecordValueCollection values = ((DxfXRecord)valueByName).Values; if (values.Count <= 2) { return; } DxfXRecordValue dxfXrecordValue1 = values[2]; if (dxfXrecordValue1.Code != (short)70) { return; } int num = (int)(short)dxfXrecordValue1.Value; if (values.Count <= 2 + num) { return; } for (int index = 0; index < num; ++index) { DxfXRecordValue dxfXrecordValue2 = values[3 + index]; if (dxfXrecordValue2.Code != (short)340) { break; } DxfAttributeBase dxfAttributeBase = dxfXrecordValue2.Value as DxfAttributeBase; if (dxfAttributeBase != null) { dxfAttributeBase.dxfAttributeBase_0 = this; } } }