<PackageReference Include="NUnit" Version="4.6.0" />

NUnit.Framework.Constraints.SomeItemsConstraint

SomeItemsConstraint applies another constraint to each item in a collection, succeeding if any of them succeeds.
namespace NUnit.Framework.Constraints { public class SomeItemsConstraint : PrefixConstraint, IEnumerableConstraint, IConstraint, IResolveConstraint { public SomeItemsConstraint(IConstraint itemConstraint); public ConstraintResult ApplyToEnumerable<[System.Runtime.CompilerServices.Nullable(2)] TActual, [System.Runtime.CompilerServices.Nullable(2)] TItem>(TActual actual, IEnumerable<TItem> enumerable); public SomeItemsConstraint Using<[System.Runtime.CompilerServices.Nullable(2)] TActualCollectionElement, [System.Runtime.CompilerServices.Nullable(2)] TExpected>(Func<TActualCollectionElement, TExpected, bool> comparison); public SomeItemsConstraint Using(IComparer comparer); public SomeItemsConstraint Using<[System.Runtime.CompilerServices.Nullable(2)] T>(IComparer<T> comparer); public SomeItemsConstraint Using<[System.Runtime.CompilerServices.Nullable(2)] T>(Comparison<T> comparer); public SomeItemsConstraint Using(IEqualityComparer comparer); public SomeItemsConstraint Using<[System.Runtime.CompilerServices.Nullable(2)] T>(IEqualityComparer<T> comparer); public SomeItemsConstraint UsingPropertiesComparer(); public SomeItemsConstraint UsingPropertiesComparer(Func<PropertiesComparerConfigurationUntyped, PropertiesComparerConfigurationUntyped> configure); public SomeItemsConstraint UsingPropertiesComparer<[System.Runtime.CompilerServices.Nullable(2)] T>(Func<PropertiesComparerConfiguration<T>, PropertiesComparerConfiguration<T>> configure); } }