Exemple #1
0
        public override Element Clone()
        {
            EChar el = new EChar();

            el.value = value;
            return(el);
        }
Exemple #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);
     }
 }