Exemple #1
0
        internal DxfTableAttribute Clone(CloneContext cloneContext)
        {
            DxfTableAttribute dxfTableAttribute = new DxfTableAttribute();

            dxfTableAttribute.CopyFrom(this, cloneContext);
            return(dxfTableAttribute);
        }
Exemple #2
0
 private void CopyFrom(DxfTableAttribute from, CloneContext cloneContext)
 {
     if (from.AttributeDefinition != null)
     {
         this.AttributeDefinition = cloneContext.SourceModel != cloneContext.TargetModel ? (DxfAttributeDefinition)from.AttributeDefinition.Clone(cloneContext) : from.AttributeDefinition;
     }
     this.string_0 = from.string_0;
 }