Ejemplo n.º 1
0
 public bool Equals(OtherMockFact that)
 {
     if (that == null)
     {
         return(false);
     }
     return(this.Value.Equals(that.Value));
 }
Ejemplo n.º 2
0
        public override bool Implies(IFact <string> that)
        {
            if (that == null)
            {
                return(false);
            }

            OtherMockFact fact = that as OtherMockFact;

            return(Implies(fact));
        }
Ejemplo n.º 3
0
        public override bool Equals(Object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            OtherMockFact fact = obj as OtherMockFact;

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