Example #1
0
 /// <summary>
 /// Returns true if the given object equals this one.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 protected bool Equals(PathSegment <TIdType> other)
 {
     return(EqualityComparer <TIdType> .Default.Equals(VertexId, other.VertexId) && Weight.Equals(other.Weight) && Equals(From, other.From));
 }