Click or drag to resize
FindUtilityIndexOf Method (IIterableStringToken, FuncStringToken, Boolean)

Namespace: FlexRule.DSL
Assembly: FlexRule.Core.Element (in FlexRule.Core.Element.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public static int IndexOf(
	this IIterable<StringToken> iterable,
	Func<StringToken, bool> func
)

Parameters

iterable
Type: FlexRuleIIterableStringToken
func
Type: SystemFuncStringToken, Boolean

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 IIterableStringToken. 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