The AccessorContract<(Of <(TTarget, TValue>)>) type exposes the following members.

Constructors

  NameDescription
AccessorContract<(Of <(TTarget, TValue>)>)
Default constructor.

Methods

  NameDescription
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.)
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
AcceptNullValue
Determines whether the tested accessors are expected to accept a null reference as a valid input.
Context
Gets the execution context.
(Inherited from AbstractContract.)
DefaultInstance
Provides a default instance of the tested type.
Getter
Specifies an explicit way to get a value from the tested accessors.
InvalidValues
Defines a collection of incompetence classes which identify object instances that are expected to be not accepted by the tested setter. Each incompetence class contains a collection of distinct object instance associated with an expected exception type.
PropertyName
Specifies the name of tested property.
Setter
Specifies an explicit way to set a value to the tested accessors.
ValidValues
Defines a collection of distinct object instances that are expected to be inconditionally accepted as valid input by the tested setter. Feeding that contract property with at least one value is mandatory.

See Also