Gets a collection of distinct object instances that feeds the different tests.

Namespace:  MbUnit.Framework.ContractVerifiers
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public DistinctInstanceCollection<TItem> DistinctInstances { get; set; }
Visual Basic (Declaration)
Public Property DistinctInstances As DistinctInstanceCollection(Of TItem)

Remarks

In order to optimize the tests, consider to provide:

  • items which are not in the default collection instance yet.
  • items which are in the default collection instance already (if not empty).

See Also