Check.Empty<T>(IEnumerable<T>, Boolean, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- IEnumerable<T>
- expectedResult
- Boolean
- exceptionMessage
- String
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.