예제 #1
0
        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);
        }
예제 #2
0
 public DTDItem(DTDCardinal aCardinal)
 {
     Cardinal = aCardinal;
 }
예제 #3
0
 public DTDItem()
 {
     Cardinal = DTDCardinal.NONE;
 }