Object ExtensionsIntervalT(T, IEnumerableT) Method
Returns the index of the value that is less than obj.
Definition
Namespace: SphinxConnector.FluentApi.Util
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
The index of the value that is less than obj.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public static int Interval<T>(
this T obj,
IEnumerable<T> values
)
VB
<ExtensionAttribute>
Public Shared Function Interval(Of T) (
obj As T,
values As IEnumerable(Of T)
) As IntegerParameters
- obj T
- The value to check.
- values IEnumerableT
- The values defining the interval.
Type Parameters
- T
- The type of obj and values.
Return Value
Int32The index of the value that is less than obj.