Check.Empty<T>(IEnumerable<T>, Boolean, String) Method

Definition

public static void Empty<T> (System.Collections.Generic.IEnumerable<T> collection, bool expectedResult, string exceptionMessage = "Collection items do not match with expectedResult");
static member Empty : seq<'T> * bool * string -> unit
Public Shared Sub Empty(Of T) (collection As IEnumerable(Of T), expectedResult As Boolean, Optional exceptionMessage As String = "Collection items do not match with expectedResult")

Type Parameters

T

Parameters

collection
System.Collections.Generic.IEnumerable<T>
expectedResult
System.Boolean
exceptionMessage
System.String

Applies to