| Int64TypeHelperRange Method (Int64, Int64, Boolean, Int64, Boolean) |
Adds a chunk of numeric values
Namespace:
SmartTests.Ranges
Assembly:
SmartTests (in SmartTests.dll) Version: 1.12.0
Syntax public static INumericType<long> Range(
this long _,
long min,
bool minIncluded,
long max,
bool maxIncluded
)
<ExtensionAttribute>
Public Shared Function Range (
_ As Long,
min As Long,
minIncluded As Boolean,
max As Long,
maxIncluded As Boolean
) As INumericType(Of Long)
public:
[ExtensionAttribute]
static INumericType<long long>^ Range(
long long _,
long long min,
bool minIncluded,
long long max,
bool maxIncluded
)
[<ExtensionAttribute>]
static member Range :
_ : int64 *
min : int64 *
minIncluded : bool *
max : int64 *
maxIncluded : bool -> INumericType<int64>
Parameters
- _
- Type: SystemInt64
A long we do not care about, except to know to create a INumericTypeT for long. - min
- Type: SystemInt64
The min value (included) of the chunk. - minIncluded
- Type: SystemBoolean
true to include min, false otherwise. - max
- Type: SystemInt64
The max value (included) of the chunk. - maxIncluded
- Type: SystemBoolean
true to include max, false otherwise.
Return Value
Type:
INumericTypeInt64Return a new
INumericTypeT for long so that adding chunks can be chained.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Int64. 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