Example #1
0
 public bool Equals(PuzzleNode other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(base.Equals(other) && ExpectedValue == other.ExpectedValue);
 }
Example #2
0
 public PuzzleNode(PuzzleNode node)
     : this(node.Value, node.ExpectedValue)
 {
 }