AllOperator
Represents a constraint that succeeds if all the
members of a collection match a base constraint.
using System.Runtime.CompilerServices;
namespace NUnit.Framework.Constraints
{
public class AllOperator : CollectionOperator
{
[System.Runtime.CompilerServices.NullableContext(1)]
public override IConstraint ApplyPrefix(IConstraint constraint)
{
return new AllItemsConstraint(constraint);
}
}
}