Assert.IsNotEmpty 메서드

정의

오버로드

Name Description
IsNotEmpty(IEnumerable)

컬렉션이 비어 있지 않은지 테스트합니다.

IsNotEmpty(IEnumerable, String)

컬렉션이 비어 있지 않은지 테스트합니다.

IsNotEmpty(IEnumerable, String, String)

컬렉션이 비어 있지 않은지 테스트합니다.

IsNotEmpty<T>(IEnumerable<T>, String, Object[])

컬렉션이 비어 있지 않은지 테스트합니다.

IsNotEmpty<T>(IEnumerable<T>, String, String)

컬렉션이 비어 있지 않은지 테스트합니다.

IsNotEmpty<T>(IEnumerable<T>, String)

컬렉션이 비어 있지 않은지 테스트합니다.

IsNotEmpty<T>(IEnumerable<T>, Assert.AssertIsNotEmptyInterpolatedStringHandler<T>)

컬렉션이 비어 있지 않은지 테스트합니다.

IsNotEmpty<T>(IEnumerable<T>, Assert.AssertIsNotEmptyInterpolatedStringHandler<T>, String)

컬렉션이 비어 있지 않은지 테스트합니다.

IsNotEmpty<T>(IEnumerable<T>)

컬렉션이 비어 있지 않은지 테스트합니다.

IsNotEmpty(IEnumerable)

Source:
Assert.Count.cs

컬렉션이 비어 있지 않은지 테스트합니다.

public static void IsNotEmpty(System.Collections.IEnumerable collection);
static member IsNotEmpty : System.Collections.IEnumerable -> unit
Public Shared Sub IsNotEmpty (collection As IEnumerable)

매개 변수

collection
IEnumerable

컬렉션입니다.

적용 대상

IsNotEmpty(IEnumerable, String)

Source:
Assert.Count.cs

컬렉션이 비어 있지 않은지 테스트합니다.

public static void IsNotEmpty(System.Collections.IEnumerable collection, string? message);
static member IsNotEmpty : System.Collections.IEnumerable * string -> unit
Public Shared Sub IsNotEmpty (collection As IEnumerable, message As String)

매개 변수

collection
IEnumerable

컬렉션입니다.

message
String

어설션이 실패할 때 표시할 메시지 형식입니다.

적용 대상

IsNotEmpty(IEnumerable, String, String)

Source:
Assert.Count.cs
Source:
Assert.Count.cs
Source:
Assert.Count.cs

컬렉션이 비어 있지 않은지 테스트합니다.

public static void IsNotEmpty(System.Collections.IEnumerable collection, string? message = "", string collectionExpression = "");
static member IsNotEmpty : System.Collections.IEnumerable * string * string -> unit
Public Shared Sub IsNotEmpty (collection As IEnumerable, Optional message As String = "", Optional collectionExpression As String = "")

매개 변수

collection
IEnumerable

컬렉션입니다.

message
String

어설션이 실패할 때 표시할 메시지 형식입니다.

collectionExpression
String

호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.

적용 대상

IsNotEmpty<T>(IEnumerable<T>, String, Object[])

Source:
Assert.Count.cs
Source:
Assert.Count.cs
Source:
Assert.Count.cs
Source:
Assert.Count.cs

컬렉션이 비어 있지 않은지 테스트합니다.

public static void IsNotEmpty<T>(System.Collections.Generic.IEnumerable<T> collection, string? message, params object?[]? parameters);
static member IsNotEmpty : seq<'T> * string * obj[] -> unit
Public Shared Sub IsNotEmpty(Of T) (collection As IEnumerable(Of T), message As String, ParamArray parameters As Object())

형식 매개 변수

T

컬렉션 항목의 형식입니다.

매개 변수

collection
IEnumerable<T>

컬렉션입니다.

message
String

어설션이 실패할 때 표시할 메시지 형식입니다.

parameters
Object[]

메시지의 서식을 지정할 매개 변수입니다.

적용 대상

IsNotEmpty<T>(IEnumerable<T>, String, String)

Source:
Assert.Count.cs
Source:
Assert.Count.cs
Source:
Assert.Count.cs

컬렉션이 비어 있지 않은지 테스트합니다.

public static void IsNotEmpty<T>(System.Collections.Generic.IEnumerable<T> collection, string? message = "", string collectionExpression = "");
static member IsNotEmpty : seq<'T> * string * string -> unit
Public Shared Sub IsNotEmpty(Of T) (collection As IEnumerable(Of T), Optional message As String = "", Optional collectionExpression As String = "")

형식 매개 변수

T

컬렉션 항목의 형식입니다.

매개 변수

collection
IEnumerable<T>

컬렉션입니다.

message
String

어설션이 실패할 때 표시할 메시지 형식입니다.

collectionExpression
String

호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.

적용 대상

IsNotEmpty<T>(IEnumerable<T>, String)

Source:
Assert.Count.cs
Source:
Assert.Count.cs
Source:
Assert.Count.cs
Source:
Assert.Count.cs

컬렉션이 비어 있지 않은지 테스트합니다.

public static void IsNotEmpty<T>(System.Collections.Generic.IEnumerable<T> collection, string? message);
static member IsNotEmpty : seq<'T> * string -> unit
Public Shared Sub IsNotEmpty(Of T) (collection As IEnumerable(Of T), message As String)

형식 매개 변수

T

컬렉션 항목의 형식입니다.

매개 변수

collection
IEnumerable<T>

컬렉션입니다.

message
String

어설션이 실패할 때 표시할 메시지입니다.

적용 대상

IsNotEmpty<T>(IEnumerable<T>, Assert.AssertIsNotEmptyInterpolatedStringHandler<T>)

Source:
Assert.Count.cs
Source:
Assert.Count.cs
Source:
Assert.Count.cs
Source:
Assert.Count.cs

컬렉션이 비어 있지 않은지 테스트합니다.

public static void IsNotEmpty<T>(System.Collections.Generic.IEnumerable<T> collection, ref Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNotEmptyInterpolatedStringHandler<T> message);
static member IsNotEmpty : seq<'T> * AssertIsNotEmptyInterpolatedStringHandler -> unit
Public Shared Sub IsNotEmpty(Of T) (collection As IEnumerable(Of T), ByRef message As Assert.AssertIsNotEmptyInterpolatedStringHandler(Of T))

형식 매개 변수

T

컬렉션 항목의 형식입니다.

매개 변수

collection
IEnumerable<T>

컬렉션입니다.

message
Assert.AssertIsNotEmptyInterpolatedStringHandler<T>

어설션이 실패할 때 표시할 메시지입니다.

적용 대상

IsNotEmpty<T>(IEnumerable<T>, Assert.AssertIsNotEmptyInterpolatedStringHandler<T>, String)

Source:
Assert.Count.cs
Source:
Assert.Count.cs
Source:
Assert.Count.cs

컬렉션이 비어 있지 않은지 테스트합니다.

public static void IsNotEmpty<T>(System.Collections.Generic.IEnumerable<T> collection, ref Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNotEmptyInterpolatedStringHandler<T> message, string collectionExpression = "");
static member IsNotEmpty : seq<'T> * AssertIsNotEmptyInterpolatedStringHandler * string -> unit
Public Shared Sub IsNotEmpty(Of T) (collection As IEnumerable(Of T), ByRef message As Assert.AssertIsNotEmptyInterpolatedStringHandler(Of T), Optional collectionExpression As String = "")

형식 매개 변수

T

컬렉션 항목의 형식입니다.

매개 변수

collection
IEnumerable<T>

컬렉션입니다.

message
Assert.AssertIsNotEmptyInterpolatedStringHandler<T>

어설션이 실패할 때 표시할 메시지입니다.

collectionExpression
String

호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.

적용 대상

IsNotEmpty<T>(IEnumerable<T>)

Source:
Assert.Count.cs
Source:
Assert.Count.cs
Source:
Assert.Count.cs
Source:
Assert.Count.cs

컬렉션이 비어 있지 않은지 테스트합니다.

public static void IsNotEmpty<T>(System.Collections.Generic.IEnumerable<T> collection);
static member IsNotEmpty : seq<'T> -> unit
Public Shared Sub IsNotEmpty(Of T) (collection As IEnumerable(Of T))

형식 매개 변수

T

컬렉션 항목의 형식입니다.

매개 변수

collection
IEnumerable<T>

컬렉션입니다.

적용 대상