Partager via


Check.Empty<T>(IEnumerable<T>, Boolean, String) Méthode

Définition

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")

Paramètres de type

T

Paramètres

collection
IEnumerable<T>
expectedResult
Boolean
exceptionMessage
String

S’applique à