<PackageReference Include="NUnit" Version="4.4.0-beta.1" />

AnyOfConstraint

public class AnyOfConstraint : Constraint
AnyOfConstraint is used to determine whether the value is equal to any of the expected values.
public AnyOfConstraint IgnoreCase { get; }

Flag the constraint to ignore case and return self.

Flag the constraint to ignore line ending format (\r vs. \n vs. \r\n) and return self.

Flag the constraint to ignore white space and return self.

public AnyOfConstraint(ICollection expected)

Construct a AnyOfConstraint

public AnyOfConstraint Using(IComparer comparer)

Flag the constraint to use the supplied IComparer object.

public AnyOfConstraint Using<T>(IComparer<T> comparer)

Flag the constraint to use the supplied IComparer object.

public AnyOfConstraint Using<T>(Comparison<T> comparer)

Flag the constraint to use the supplied Comparison object.

Flag the constraint to use the supplied IEqualityComparer object.

public AnyOfConstraint Using<T>(IEqualityComparer<T> comparer)

Flag the constraint to use the supplied IEqualityComparer object.

public AnyOfConstraint Using<T>(Func<T, T, bool> comparer)

Flag the constraint to use the supplied boolean-returning delegate.

Enables comparing of instance properties.

Enables comparing of instance properties.