Пример #1
0
        public override Element Clone()
        {
            EChar el = new EChar();

            el.value = value;
            return(el);
        }
Пример #2
0
 public override bool Equals(object obj)
 {
     //Check for null and compare run-time types.
     if ((obj == null) || !this.GetType().Equals(obj.GetType()))
     {
         return(false);
     }
     else
     {
         EChar other = (EChar)obj;
         return(value == other.value);
     }
 }