ListExtensions..::..Where<(Of <(<'T>)>)> Method

Wheres the specified predicate.

Namespace:  MichaelBrandonMorris.Extensions.CollectionExtensions
Assembly:  MichaelBrandonMorris.Extensions.CollectionExtensions (in MichaelBrandonMorris.Extensions.CollectionExtensions.dll)

Syntax


public static IList<T> Where<T>(
	IList<T> list,
	Func<T, bool> predicate
)
Public Shared Function Where(Of T) ( _
	list As IList(Of T), _
	predicate As Func(Of T, Boolean) _
) As IList(Of T)
public:
generic<typename T>
static IList<T>^ Where(
	IList<T>^ list, 
	Func<T, bool^>^ predicate
)

Type Parameters

T

Parameters

list
Type: IList<(Of <(<'T>)>)>
The list.
predicate
Type: Func<(Of <(<'T, Boolean>)>)>
The predicate.

Return Value

IList<T>.