Ejemplo n.º 1
0
 public Declare(Declare another)
 {
     if (another.Var != null)
     {
         var = (string)another.Var.Clone();
     }
 }
Ejemplo n.º 2
0
        public override bool Equals(object o)
        {
            if (o == null || GetType() != o.GetType())
            {
                return false;
            }

            Declare other = new Declare((Declare)o);

            if (this.Var != null)
            {
                if (!this.Var.Equals(other.Var))
                {
                    return false;
                }
            }

            return true;
        }
Ejemplo n.º 3
0
 public int AddDeclare(Declare item)
 {
     return declare.Add(item);
 }