| 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 = ""
)
Public Shared Sub Contains(Of T) (
collection As IEnumerable(Of T),
predicate As Func(Of T, Boolean),
Optional message As String = ""
)
Parameters
- collection
- Type: System.Collections.GenericIEnumerableT
- predicate
- Type: SystemFuncT, Boolean
- message (Optional)
- Type: SystemString
Type Parameters
- T
See Also