示例#1
0
 public override bool Equals(object obj)
 {
     if (obj == null || (object)NodeLocation == null)
     {
         return(false);
     }
     return(NodeLocation.Equals(((Node)obj).NodeLocation));
 }
示例#2
0
 public bool Equals(Node value)
 {
     if ((object)value == null || NodeLocation == null)
     {
         return(false);
     }
     return(NodeLocation.Equals(value.NodeLocation));
 }