示例#1
0
        public virtual bool Equals(PlottingRangeBase obj)
        {
            if (obj == null)
            {
                return(false);
            }

            return(this.ValuePadding == obj.ValuePadding);
        }
示例#2
0
        public override bool Equals(PlottingRangeBase obj)
        {
            if (!base.Equals(obj))
            {
                return(false);
            }

            var other = obj as CategoryPlottingRange;

            return(this.ValuePadding == obj.ValuePadding && this.PlottingItemValues.SequenceEqual(other.PlottingItemValues));
        }
示例#3
0
        public override bool Equals(PlottingRangeBase obj)
        {
            if (!base.Equals(obj))
            {
                return(false);
            }

            var other = obj as NumericPlottingRange;

            if (other == null)
            {
                return(false);
            }
            return(this.ActualRange == other.ActualRange);
        }