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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET