The ListContract<(Of <(TList, TItem>)>) type exposes the following members.

Constructors

  NameDescription
ListContract<(Of <(TList, TItem>)>)
Initializes a new instance of the ListContract<(Of <(TList, TItem>)>) class

Methods

  NameDescription
AssertDistinctIntancesNotEmpty
Asserts that the collection of distinct instances specified by the user is not empty.
(Inherited from CollectionContract<(Of <(TCollection, TItem>)>).)
CreateNotSupportedWriteTest
Creates a test that invokes an action over the collection, which is supposed to not be supported. The test expects that an exception be thrown.
(Inherited from CollectionContract<(Of <(TCollection, TItem>)>).)
CreateNullArgumentTest
Creates a test which runs an action over the collection with a null argument. The test expects that an exception be thrown.
(Inherited from CollectionContract<(Of <(TCollection, TItem>)>).)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetContractVerificationTestsOverloaded.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetSafeDefaultInstance
Returns safely a default instance of the tested type.
(Inherited from CollectionContract<(Of <(TCollection, TItem>)>).)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Extension Methods

  NameDescription
FormatOverloaded.

Properties

  NameDescription
AcceptEqualItems
Determines whether the collection is expected to accept several identical items (object equality). The default value is true.
(Inherited from CollectionContract<(Of <(TCollection, TItem>)>).)
AcceptNullReference
Determines whether the collection is expected to accept null references as valid items.
(Inherited from CollectionContract<(Of <(TCollection, TItem>)>).)
Context
Gets the execution context.
(Inherited from AbstractContract.)
DefaultInstance
Provides a default instance of the collection to test.
(Inherited from CollectionContract<(Of <(TCollection, TItem>)>).)
DistinctInstances
Gets a collection of distinct object instances that feeds the different tests.
(Inherited from CollectionContract<(Of <(TCollection, TItem>)>).)
IsReadOnly
Determines whether the tested collection is expected to be read-only.
(Inherited from CollectionContract<(Of <(TCollection, TItem>)>).)

See Also