示例#1
0
        public DxfHandledObject CloneReference(DxfHandledObject sourceObject)
        {
            if (sourceObject == null)
            {
                return((DxfHandledObject)null);
            }
            ITableRecord tableRecord = sourceObject as ITableRecord;

            if (tableRecord != null)
            {
                if (this.dxfModel_0 == this.dxfModel_1)
                {
                    return(sourceObject);
                }
                tableRecord.Accept((ITableRecordVisitor)this.class756_0);
                return(this.class756_0.ClonedTableRecord);
            }
            DxfHandledObject dxfHandledObject = (DxfHandledObject)sourceObject.Clone(this);

            if (this.dxfModel_0 != this.dxfModel_1)
            {
                this.method_0(dxfHandledObject);
            }
            return(dxfHandledObject);
        }
示例#2
0
 public DxfHandledObject CloneTableRecord(ITableRecord tableRecord)
 {
     if (tableRecord == null)
     {
         return((DxfHandledObject)null);
     }
     tableRecord.Accept((ITableRecordVisitor)this.class756_0);
     return(this.class756_0.ClonedTableRecord);
 }