| EnumTypeHelperValuesT Method |
Adds enum values to test for as an equivalence class.
Namespace:
SmartTests.Ranges
Assembly:
SmartTests (in SmartTests.dll) Version: 1.12.0
Syntax public static EnumTypeHelperPlaceHolder<T> Values<T>(
this T _,
params T[] values
)
where T : struct, new(), IComparable
<ExtensionAttribute>
Public Shared Function Values(Of T As {Structure, New, IComparable}) (
_ As T,
ParamArray values As T()
) As EnumTypeHelperPlaceHolder(Of T)
public:
[ExtensionAttribute]
generic<typename T>
where T : value class, gcnew(), IComparable
static EnumTypeHelperPlaceHolder<T>^ Values(
T _,
... array<T>^ values
)
[<ExtensionAttribute>]
static member Values :
_ : 'T *
values : 'T[] -> EnumTypeHelperPlaceHolder<'T> when 'T : struct, new() and IComparable
Parameters
- _
- Type: T
An enum we do not care about, except to know to create a EnumType. - values
- Type: T
The values as an equivalence class for the current test.
Type Parameters
- T
- An enum type.
Return Value
Type:
EnumTypeHelperPlaceHolderTThe criteria representing the full range.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also