示例#1
0
        public override object Clone()
        {
            Other clone = (Other)this.MemberwiseClone();

            if (Symbol != null)
            {
                clone.Symbol = (Symbol)Symbol.Clone();
            }

            return(clone);
        }
示例#2
0
        public override object Clone()
        {
            SimpleLabelRenderer clone = (SimpleLabelRenderer)this.MemberwiseClone();

            if (Symbol != null)
            {
                clone.Symbol = (Symbol)Symbol.Clone();
            }

            return(clone);
        }
示例#3
0
        public object Clone()
        {
            Object clone = (Object)this.MemberwiseClone();

            if (CoordSys != null)
            {
                clone.CoordSys = (CoordSys)CoordSys.Clone();
            }

            if (_shape != null)
            {
                clone._shape = (IGeometry)_shape.Clone();
            }

            if (_northArrow != null)
            {
                clone._northArrow = (NorthArrow)_northArrow.Clone();
            }

            if (_scaleBar != null)
            {
                clone._scaleBar = (ScaleBar)_scaleBar.Clone();
            }

            if (_text != null)
            {
                clone._text = (Text)_text.Clone();
            }

            if (Symbol != null)
            {
                clone.Symbol = (Symbol)Symbol.Clone();
            }

            return(clone);
        }
示例#4
0
 public Range(string lower, string upper, Symbol symbol)
 {
     Lower  = lower;
     Upper  = upper;
     Symbol = (Symbol)symbol.Clone();
 }
示例#5
0
 public Exact(string value, Symbol symbol)
 {
     Value  = value;
     Label  = value;
     Symbol = (Symbol)symbol.Clone();
 }