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

IEnumerableConstraint

Interface for enumerable constraints
using System.Collections.Generic; using System.Runtime.CompilerServices; namespace NUnit.Framework.Constraints { public interface IEnumerableConstraint : IConstraint, IResolveConstraint { [System.Runtime.CompilerServices.NullableContext(1)] ConstraintResult ApplyToEnumerable<[System.Runtime.CompilerServices.Nullable(2)] TActual, [System.Runtime.CompilerServices.Nullable(2)] TItem>(TActual actual, IEnumerable<TItem> enumerable); } }