Enumerable ExtensionsInT(IEnumerableT, T) Method
Returns true if enumerable contains a value that is equal to any of the other arguments.
Definition
Namespace: SphinxConnector.FluentApi.Util
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
true if the enumerable contains a value that is equal to any of the other arguments, otherwise false.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public static bool In<T>(
this IEnumerable<T> enumerable,
params T[] values
)
VB
<ExtensionAttribute>
Public Shared Function In(Of T) (
enumerable As IEnumerable(Of T),
ParamArray values As T()
) As BooleanParameters
- enumerable IEnumerableT
- The values to check for equality.
- values T
- The values to compare to.
Type Parameters
- T
- The type of the elements of enumerable and values.
Return Value
Booleantrue if the enumerable contains a value that is equal to any of the other arguments, otherwise false.