Exemplo n.º 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);
        }
Exemplo n.º 2
0
        public override void CopyTo(IAttribute target)
        {
            PositionLengthAttribute t = (PositionLengthAttribute)target;

            t.PositionLength = positionLength;
        }