SomeItemsConstraint
public class SomeItemsConstraint : PrefixConstraint, IEnumerableConstraint, IConstraint, IResolveConstraint
SomeItemsConstraint applies another constraint to each
item in a collection, succeeding if any of them succeeds.
Construct a SomeItemsConstraint on top of an existing constraint
public ConstraintResult ApplyToEnumerable<TActual, TItem>(TActual actual, IEnumerable<TItem> enumerable)
Apply the item constraint to each item in the collection,
succeeding if any item succeeds.
public SomeItemsConstraint Using<TActualCollectionElement, TExpected>(Func<TActualCollectionElement, TExpected, bool> comparison)
Flag the constraint to use the supplied Func<T, U, V> object.
Flag the constraint to use the supplied IComparer object.
Flag the constraint to use the supplied IComparer<T> object.
Flag the constraint to use the supplied Comparison<T> object.
Flag the constraint to use the supplied IEqualityComparer object.
Flag the constraint to use the supplied IEqualityComparer<T> object.
Enables comparing of instance properties.
public SomeItemsConstraint UsingPropertiesComparer(Func<PropertiesComparerConfigurationUntyped, PropertiesComparerConfigurationUntyped> configure)
Enables comparing of instance properties.