<PackageReference Include="NUnit" Version="5.0.0-beta.1" />

NUnit.Framework.Constraints.CollectionTallyResult

public sealed class CollectionTallyResult
The result of a CollectionTally.
public List<object> ExtraItems { get; }

Items that were not in the expected collection.

public List<object> MissingItems { get; }

Items that were not accounted for in the expected collection.

public CollectionTallyResult(List<object> missingItems, List<object> extraItems)

Initializes a new instance of the CollectionTallyResult class with the given fields.