| EnumTypeErrorValueT Method |
Adds an enum value (considered an error) to test for.
Namespace:
SmartTests.Ranges
Assembly:
SmartTests (in SmartTests.dll) Version: 1.12.0
Syntax public Criteria ErrorValue<T>(
T value
)
where T : struct, new(), IComparable
Public Function ErrorValue(Of T As {Structure, New, IComparable}) (
value As T
) As Criteria
public:
generic<typename T>
where T : value class, gcnew(), IComparable
Criteria^ ErrorValue(
T value
)
member ErrorValue :
value : 'T -> Criteria when 'T : struct, new() and IComparable
Parameters
- value
- Type: T
A single value of the enum type.
Type Parameters
- T
- An enum type.
Return Value
Type:
CriteriaThe criteria representing the full range.
See Also