public override bool Equals(object ob)
        {
            if (ob == this)
            {
                return(true);
            }
            if (!(ob is DTDCardinal))
            {
                return(false);
            }

            DTDCardinal other = (DTDCardinal)ob;

            if (other.Type == Type)
            {
                return(true);
            }
            return(false);
        }
Exemple #2
0
 public DTDItem(DTDCardinal aCardinal)
 {
     Cardinal = aCardinal;
 }
Exemple #3
0
 public DTDItem()
 {
     Cardinal = DTDCardinal.NONE;
 }