예제 #1
0
파일: Route.cs 프로젝트: Chapmania/Juniper
 public bool Parallels(Route<ValueT> other)
 {
     return other is object
         && ((Start.Equals(other.Start) && End.Equals(other.End))
             || (Start.Equals(other.End) && End.Equals(other.Start)));
 }
예제 #2
0
파일: Route.cs 프로젝트: Chapmania/Juniper
 public bool Equals(Route<ValueT> other)
 {
     return CompareTo(other) == 0;
 }