<PackageReference Include="NUnit" Version="3.0.0-rc" />

CollectionOrderedConstraint

CollectionOrderedConstraint is used to test whether a collection is ordered.

If used performs a reverse comparison

Construct a CollectionOrderedConstraint

public CollectionOrderedConstraint By(string propertyName)

Modifies the constraint to test ordering by the value of a specified property and returns self.

Modifies the constraint to use an IComparer and returns self.

Modifies the constraint to use an IComparer<T> and returns self.

Modifies the constraint to use a Comparison<T> and returns self.