Beispiel #1
0
        public override bool Equals(object other)
        {
            if (other == this)
            {
                return(true);
            }

            if (other is PositionLengthAttribute)
            {
                PositionLengthAttribute _other = (PositionLengthAttribute)other;
                return(positionLength == _other.positionLength);
            }

            return(false);
        }
Beispiel #2
0
        public override void CopyTo(IAttribute target)
        {
            PositionLengthAttribute t = (PositionLengthAttribute)target;

            t.PositionLength = positionLength;
        }