Click or drag to resize

EnsureContainsT Method

Namespace:  Dynamicweb.Core
Assembly:  Dynamicweb.Core (in Dynamicweb.Core.dll) Version: 3.1.1
Syntax
public static void Contains<T>(
	IEnumerable<T> collection,
	Func<T, bool> predicate,
	string message = ""
)

Parameters

collection
Type: System.Collections.GenericIEnumerableT
predicate
Type: SystemFuncT, Boolean
message (Optional)
Type: SystemString

Type Parameters

T
See Also