예제 #1
0
        public override object Clone()
        {
            XAttributeLiteral clone = (XAttributeLiteral)base.Clone();

            clone.value = string.Copy(this.value);
            return(clone);
        }
예제 #2
0
        public override bool Equals(object obj)
        {
            if (obj == this)
            {
                return(true);
            }
            if (obj is XAttributeLiteral)
            {
                XAttributeLiteral other = (XAttributeLiteral)obj;
                return((base.Equals(other)) && (this.value.Equals(other.value)));
            }

            return(false);
        }