NUnit.Framework.Constraints.CollectionTally
CollectionTally counts (tallies) the number of occurrences
of each object in one or more enumerations.
namespace NUnit.Framework.Constraints
{
public sealed class CollectionTally
{
public sealed class CollectionTallyResult
{
public List<object> ExtraItems { get; }
public List<object> MissingItems { get; }
public CollectionTallyResult(List<object> missingItems, List<object> extraItems);
}
public CollectionTallyResult Result { get; }
public CollectionTally(NUnitEqualityComparer comparer, IEnumerable c);
public void TryRemove(object o);
public void TryRemove(IEnumerable c);
}
}