示例#1
0
        public bool Equals(TakesFirstFact that)
        {
            if (that == null)
            {
                return(false);
            }

            return(this.Value == that.Value);
        }
示例#2
0
        public override bool Equals(object that)
        {
            if (that == null)
            {
                return(false);
            }

            TakesFirstFact fact = that as TakesFirstFact;

            if (fact == null)
            {
                return(false);
            }
            else
            {
                return(Equals(fact));
            }
        }