FlexRule Runtime API
FlexRule Runtime API
FlexRule Namespaces
FlexRule.DSL Namespaces
FlexRule.DSL
FindUtility Class
FindUtility Methods
IndexOf Method
IndexOf Method (IChildExpressionContainer, Expression)
IndexOf Method (IIterable, Object)
IndexOf Method (IIterable(StringToken), Func(StringToken, Boolean))
IndexOf(T) Method (IIterable(T), Func(T, Boolean))
IndexOf Method (IIterable(StringToken), Int32, Func(StringToken, Boolean))
FindUtility
IndexOf
T
Method (IIterable
T
, Func
T
, Boolean
)
Namespace:
FlexRule.DSL
Assembly:
FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
Copy
public
static
int
IndexOf
<T>(
this
IIterable
<T>
source
,
Func
<T,
bool
>
value
)
Parameters
source
Type:
FlexRule
IIterable
T
value
Type:
System
Func
T
,
Boolean
Type Parameters
T
Return Value
Type:
Int32
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IIterable
T
. 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
Reference
FindUtility Class
IndexOf Overload
FlexRule.DSL Namespace
(c) 2017 by FlexRule
Send comments on this topic to
support@flexrule.com