示例#1
0
 public bool Equals(PeerInfo other)
 {
     if (other == null)
     {
         return(false);
     }
     return(ServiceEndPoint.Equals(other.ServiceEndPoint));
 }
示例#2
0
 public override bool Equals(object obj)
 {
     if (obj == null)
     {
         return(false);
     }
     return(ServiceEndPoint.Equals(((PeerInfo)obj).ServiceEndPoint));
 }