コード例 #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;
 }