Click or drag to resize

ObjectExtensionsIntervalT Method (T, IEnumerableT)

Returns the index of the value that is less than obj.

Namespace:  SphinxConnector.FluentApi.Util
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public static int Interval<T>(
	this T obj,
	IEnumerable<T> values
)

Parameters

obj
Type: T
The value to check.
values
Type: System.Collections.GenericIEnumerableT
The values defining the interval.

Type Parameters

T
The type of obj and values.

Return Value

Type: Int32
The index of the value that is less than obj.

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