Beispiel #1
0
 public static bool Contains(this IArcs edge, INode node) => edge.From == node || edge.To == node;
Beispiel #2
0
 public bool Equals(IArcs other) => ReferenceEquals(other, this) || other is not null && other.From == From && other.To == To;