Assert.IsEmpty 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
IsEmpty(IEnumerable)
- Source:
- Assert.Count.cs
컬렉션이 비어 있는지 테스트합니다.
public static void IsEmpty(System.Collections.IEnumerable collection);
static member IsEmpty : System.Collections.IEnumerable -> unit
Public Shared Sub IsEmpty (collection As IEnumerable)
매개 변수
- collection
- IEnumerable
컬렉션입니다.
적용 대상
IsEmpty(IEnumerable, String)
- Source:
- Assert.Count.cs
컬렉션이 비어 있는지 테스트합니다.
public static void IsEmpty(System.Collections.IEnumerable collection, string? message);
static member IsEmpty : System.Collections.IEnumerable * string -> unit
Public Shared Sub IsEmpty (collection As IEnumerable, message As String)
매개 변수
- collection
- IEnumerable
컬렉션입니다.
- message
- String
어설션이 실패할 때 표시할 메시지 형식입니다.
적용 대상
IsEmpty(IEnumerable, String, String)
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.IsEmpty.cs
컬렉션이 비어 있는지 테스트합니다.
public static void IsEmpty(System.Collections.IEnumerable collection, string? message = "", string collectionExpression = "");
static member IsEmpty : System.Collections.IEnumerable * string * string -> unit
Public Shared Sub IsEmpty (collection As IEnumerable, Optional message As String = "", Optional collectionExpression As String = "")
매개 변수
- collection
- IEnumerable
컬렉션입니다.
- message
- String
어설션이 실패할 때 표시할 메시지입니다.
- collectionExpression
- String
호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.
적용 대상
IsEmpty<T>(Span<T>, Assert.AssertCountInterpolatedStringHandler<T>, String)
범위가 비어 있는지 테스트합니다.
public static void IsEmpty<T>(Span<T> collection, ref Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<T> message, string collectionExpression = "");
static member IsEmpty : Span<'T> * AssertCountInterpolatedStringHandler * string -> unit
Public Shared Sub IsEmpty(Of T) (collection As Span(Of T), ByRef message As Assert.AssertCountInterpolatedStringHandler(Of T), Optional collectionExpression As String = "")
형식 매개 변수
- T
범위 항목의 형식입니다.
매개 변수
- collection
- Span<T>
범위입니다.
- message
- Assert.AssertCountInterpolatedStringHandler<T>
어설션이 실패할 때 표시할 메시지입니다.
- collectionExpression
- String
호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.
적용 대상
IsEmpty<T>(Span<T>, String, String)
범위가 비어 있는지 테스트합니다.
public static void IsEmpty<T>(Span<T> collection, string? message = "", string collectionExpression = "");
static member IsEmpty : Span<'T> * string * string -> unit
Public Shared Sub IsEmpty(Of T) (collection As Span(Of T), Optional message As String = "", Optional collectionExpression As String = "")
형식 매개 변수
- T
범위 항목의 형식입니다.
매개 변수
- collection
- Span<T>
범위입니다.
- message
- String
어설션이 실패할 때 표시할 메시지입니다.
- collectionExpression
- String
호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.
적용 대상
IsEmpty<T>(ReadOnlySpan<T>, Assert.AssertCountInterpolatedStringHandler<T>, String)
범위가 비어 있는지 테스트합니다.
public static void IsEmpty<T>(ReadOnlySpan<T> collection, ref Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<T> message, string collectionExpression = "");
static member IsEmpty : ReadOnlySpan<'T> * AssertCountInterpolatedStringHandler * string -> unit
Public Shared Sub IsEmpty(Of T) (collection As ReadOnlySpan(Of T), ByRef message As Assert.AssertCountInterpolatedStringHandler(Of T), Optional collectionExpression As String = "")
형식 매개 변수
- T
범위 항목의 형식입니다.
매개 변수
- collection
- ReadOnlySpan<T>
범위입니다.
- message
- Assert.AssertCountInterpolatedStringHandler<T>
어설션이 실패할 때 표시할 메시지입니다.
- collectionExpression
- String
호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.
적용 대상
IsEmpty<T>(ReadOnlyMemory<T>, String, String)
메모리가 비어 있는지 테스트합니다.
public static void IsEmpty<T>(ReadOnlyMemory<T> collection, string? message = "", string collectionExpression = "");
static member IsEmpty : ReadOnlyMemory<'T> * string * string -> unit
Public Shared Sub IsEmpty(Of T) (collection As ReadOnlyMemory(Of T), Optional message As String = "", Optional collectionExpression As String = "")
형식 매개 변수
- T
메모리 항목의 형식입니다.
매개 변수
- collection
- ReadOnlyMemory<T>
메모리입니다.
- message
- String
어설션이 실패할 때 표시할 메시지입니다.
- collectionExpression
- String
호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.
적용 대상
IsEmpty<T>(ReadOnlyMemory<T>, Assert.AssertCountInterpolatedStringHandler<T>, String)
메모리가 비어 있는지 테스트합니다.
public static void IsEmpty<T>(ReadOnlyMemory<T> collection, ref Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<T> message, string collectionExpression = "");
static member IsEmpty : ReadOnlyMemory<'T> * AssertCountInterpolatedStringHandler * string -> unit
Public Shared Sub IsEmpty(Of T) (collection As ReadOnlyMemory(Of T), ByRef message As Assert.AssertCountInterpolatedStringHandler(Of T), Optional collectionExpression As String = "")
형식 매개 변수
- T
메모리 항목의 형식입니다.
매개 변수
- collection
- ReadOnlyMemory<T>
메모리입니다.
- message
- Assert.AssertCountInterpolatedStringHandler<T>
어설션이 실패할 때 표시할 메시지입니다.
- collectionExpression
- String
호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.
적용 대상
IsEmpty<T>(Memory<T>, String, String)
메모리가 비어 있는지 테스트합니다.
public static void IsEmpty<T>(Memory<T> collection, string? message = "", string collectionExpression = "");
static member IsEmpty : Memory<'T> * string * string -> unit
Public Shared Sub IsEmpty(Of T) (collection As Memory(Of T), Optional message As String = "", Optional collectionExpression As String = "")
형식 매개 변수
- T
메모리 항목의 형식입니다.
매개 변수
- collection
- Memory<T>
메모리입니다.
- message
- String
어설션이 실패할 때 표시할 메시지입니다.
- collectionExpression
- String
호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.
적용 대상
IsEmpty<T>(ReadOnlySpan<T>, String, String)
범위가 비어 있는지 테스트합니다.
public static void IsEmpty<T>(ReadOnlySpan<T> collection, string? message = "", string collectionExpression = "");
static member IsEmpty : ReadOnlySpan<'T> * string * string -> unit
Public Shared Sub IsEmpty(Of T) (collection As ReadOnlySpan(Of T), Optional message As String = "", Optional collectionExpression As String = "")
형식 매개 변수
- T
범위 항목의 형식입니다.
매개 변수
- collection
- ReadOnlySpan<T>
범위입니다.
- message
- String
어설션이 실패할 때 표시할 메시지입니다.
- collectionExpression
- String
호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.
적용 대상
IsEmpty<T>(IEnumerable<T>, String, String)
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.IsEmpty.cs
컬렉션이 비어 있는지 테스트합니다.
public static void IsEmpty<T>(System.Collections.Generic.IEnumerable<T> collection, string? message = "", string collectionExpression = "");
static member IsEmpty : seq<'T> * string * string -> unit
Public Shared Sub IsEmpty(Of T) (collection As IEnumerable(Of T), Optional message As String = "", Optional collectionExpression As String = "")
형식 매개 변수
- T
컬렉션 항목의 형식입니다.
매개 변수
- collection
- IEnumerable<T>
컬렉션입니다.
- message
- String
어설션이 실패할 때 표시할 메시지입니다.
- collectionExpression
- String
호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.
적용 대상
IsEmpty<T>(IEnumerable<T>, String, Object[])
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
컬렉션이 비어 있는지 테스트합니다.
public static void IsEmpty<T>(System.Collections.Generic.IEnumerable<T> collection, string? message, params object?[]? parameters);
static member IsEmpty : seq<'T> * string * obj[] -> unit
Public Shared Sub IsEmpty(Of T) (collection As IEnumerable(Of T), message As String, ParamArray parameters As Object())
형식 매개 변수
- T
컬렉션 항목의 형식입니다.
매개 변수
- collection
- IEnumerable<T>
컬렉션입니다.
- message
- String
어설션이 실패할 때 표시할 메시지 형식입니다.
- parameters
- Object[]
메시지의 서식을 지정할 매개 변수입니다.
적용 대상
IsEmpty<T>(IEnumerable<T>, Assert.AssertCountInterpolatedStringHandler<T>, String)
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.IsEmpty.cs
컬렉션이 비어 있는지 테스트합니다.
public static void IsEmpty<T>(System.Collections.Generic.IEnumerable<T> collection, ref Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<T> message, string collectionExpression = "");
static member IsEmpty : seq<'T> * AssertCountInterpolatedStringHandler * string -> unit
Public Shared Sub IsEmpty(Of T) (collection As IEnumerable(Of T), ByRef message As Assert.AssertCountInterpolatedStringHandler(Of T), Optional collectionExpression As String = "")
형식 매개 변수
- T
컬렉션 항목의 형식입니다.
매개 변수
- collection
- IEnumerable<T>
컬렉션입니다.
- message
- Assert.AssertCountInterpolatedStringHandler<T>
어설션이 실패할 때 표시할 메시지입니다.
- collectionExpression
- String
호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.
적용 대상
IsEmpty<T>(IEnumerable<T>, String)
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
컬렉션이 비어 있는지 테스트합니다.
public static void IsEmpty<T>(System.Collections.Generic.IEnumerable<T> collection, string? message);
static member IsEmpty : seq<'T> * string -> unit
Public Shared Sub IsEmpty(Of T) (collection As IEnumerable(Of T), message As String)
형식 매개 변수
- T
컬렉션 항목의 형식입니다.
매개 변수
- collection
- IEnumerable<T>
컬렉션입니다.
- message
- String
어설션이 실패할 때 표시할 메시지입니다.
적용 대상
IsEmpty<T>(Memory<T>, Assert.AssertCountInterpolatedStringHandler<T>, String)
메모리가 비어 있는지 테스트합니다.
public static void IsEmpty<T>(Memory<T> collection, ref Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<T> message, string collectionExpression = "");
static member IsEmpty : Memory<'T> * AssertCountInterpolatedStringHandler * string -> unit
Public Shared Sub IsEmpty(Of T) (collection As Memory(Of T), ByRef message As Assert.AssertCountInterpolatedStringHandler(Of T), Optional collectionExpression As String = "")
형식 매개 변수
- T
메모리 항목의 형식입니다.
매개 변수
- collection
- Memory<T>
메모리입니다.
- message
- Assert.AssertCountInterpolatedStringHandler<T>
어설션이 실패할 때 표시할 메시지입니다.
- collectionExpression
- String
호출자 인수 식을 통해 컴파일러에서 지정한 컬렉션의 구문 식입니다. 사용자는 이 매개 변수에 대한 값을 전달해서는 안 됩니다.
적용 대상
IsEmpty<T>(IEnumerable<T>, Assert.AssertCountInterpolatedStringHandler<T>)
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
컬렉션이 비어 있는지 테스트합니다.
public static void IsEmpty<T>(System.Collections.Generic.IEnumerable<T> collection, ref Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<T> message);
static member IsEmpty : seq<'T> * AssertCountInterpolatedStringHandler -> unit
Public Shared Sub IsEmpty(Of T) (collection As IEnumerable(Of T), ByRef message As Assert.AssertCountInterpolatedStringHandler(Of T))
형식 매개 변수
- T
컬렉션 항목의 형식입니다.
매개 변수
- collection
- IEnumerable<T>
컬렉션입니다.
- message
- Assert.AssertCountInterpolatedStringHandler<T>
어설션이 실패할 때 표시할 메시지입니다.
적용 대상
IsEmpty<T>(IEnumerable<T>)
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
- Source:
- Assert.Count.cs
컬렉션이 비어 있는지 테스트합니다.
public static void IsEmpty<T>(System.Collections.Generic.IEnumerable<T> collection);
static member IsEmpty : seq<'T> -> unit
Public Shared Sub IsEmpty(Of T) (collection As IEnumerable(Of T))
형식 매개 변수
- T
컬렉션 항목의 형식입니다.
매개 변수
- collection
- IEnumerable<T>
컬렉션입니다.