Method Sequence
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Sequence<T>()
Returns a comparer that treats two System.Collections.Generic.IReadOnlyList<T> as equal when their
lengths match and each element pair is Object.is-equal: reference identity for reference
types (strings compare by ordinal value instead), bit-pattern equality for float/double, and
boxed value equality for other value types. A fresh-but-value-equal reference-type element
(other than a string) therefore counts as changed.
public static IEqualityComparer<IReadOnlyList<T>> Sequence<T>()
Returns
- IEqualityComparer<IReadOnlyList<T>>
Type Parameters
T