Example #1
0
        public override Element Clone()
        {
            EReal el = new EReal();

            el.value = value;
            return(el);
        }
Example #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
     {
         EReal other = (EReal)obj;
         return(value == other.value);
     }
 }