예제 #1
0
        public IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfBlockParameterPropertyInfo parameterPropertyInfo = (DxfBlockParameterPropertyInfo)cloneContext.GetExistingClone((IGraphCloneable)this);

            if (parameterPropertyInfo == null)
            {
                parameterPropertyInfo = new DxfBlockParameterPropertyInfo();
                cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)parameterPropertyInfo);
                parameterPropertyInfo.CopyFrom(cloneContext, this);
            }
            return((IGraphCloneable)parameterPropertyInfo);
        }
예제 #2
0
 protected virtual void CopyFrom(CloneContext cloneContext, DxfBlockParameterPropertyInfo from)
 {
     this.dxfConnectionPoint_0 = DxfConnectionPoint.Clone(cloneContext, from.dxfConnectionPoint_0);
 }