예제 #1
0
        public override object Clone()
        {
            XAttributeID clone = (XAttributeID)MemberwiseClone();

            clone.value = ((XID)this.value.Clone());
            return(clone);
        }
예제 #2
0
        public override bool Equals(Object obj)
        {
            if (obj == this)
            {
                return(true);
            }
            if (obj is XAttributeID)
            {
                XAttributeID other = (XAttributeID)obj;
                return((base.Equals(other)) && (this.value.Equals(other.value)));
            }

            return(false);
        }