Click or drag to resize
EnumerableExtensionsInT Method (IEnumerableT, IEnumerableT)
Returns true if enumerable contains a value that is equal to any of the other arguments.

Namespace: SphinxConnector.FluentApi.Util
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntax
public static bool In<T>(
	this IEnumerable<T> enumerable,
	IEnumerable<T> values
)

Parameters

enumerable
Type: System.Collections.GenericIEnumerableT
The values to check for equality.
values
Type: System.Collections.GenericIEnumerableT
The values to compare to.

Type Parameters

T
The type of the elements of enumerable and values.

Return Value

Type: Boolean
true if the enumerable contains a value that is equal to any of the other arguments, otherwise false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. 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