Assert.AssertSingleInterpolatedStringHandler<TItem> Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Nazwa | Opis |
|---|---|
| Assert.AssertSingleInterpolatedStringHandler<TItem>(Int32, Int32, IEnumerable<TItem>, Boolean) |
Inicjuje nowe wystąpienie Assert.AssertSingleInterpolatedStringHandler<TItem> struktury. |
| Assert.AssertSingleInterpolatedStringHandler<TItem>(Int32, Int32, Memory<TItem>, Boolean) |
Inicjuje nowe wystąpienie Assert.AssertSingleInterpolatedStringHandler<TItem> struktury. |
| Assert.AssertSingleInterpolatedStringHandler<TItem>(Int32, Int32, ReadOnlyMemory<TItem>, Boolean) |
Inicjuje nowe wystąpienie Assert.AssertSingleInterpolatedStringHandler<TItem> struktury. |
| Assert.AssertSingleInterpolatedStringHandler<TItem>(Int32, Int32, ReadOnlySpan<TItem>, Boolean) |
Inicjuje nowe wystąpienie Assert.AssertSingleInterpolatedStringHandler<TItem> struktury. |
| Assert.AssertSingleInterpolatedStringHandler<TItem>(Int32, Int32, Span<TItem>, Boolean) |
Inicjuje nowe wystąpienie Assert.AssertSingleInterpolatedStringHandler<TItem> struktury. |
Assert.AssertSingleInterpolatedStringHandler<TItem>(Int32, Int32, IEnumerable<TItem>, Boolean)
- Źródło:
- Assert.Contains.cs
- Źródło:
- Assert.Contains.cs
- Źródło:
- Assert.Contains.cs
- Źródło:
- Assert.Contains.cs
- Źródło:
- Assert.Contains.cs
- Źródło:
- Assert.Contains.cs
- Źródło:
- Assert.Contains.cs
- Źródło:
- Assert.ContainsSingle.cs
Inicjuje nowe wystąpienie Assert.AssertSingleInterpolatedStringHandler<TItem> struktury.
public AssertSingleInterpolatedStringHandler(int literalLength, int formattedCount, System.Collections.Generic.IEnumerable<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item> : int * int * seq<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, collection As IEnumerable(Of TItem), ByRef shouldAppend As Boolean)
Parametry
- literalLength
- Int32
Liczba stałych znaków w ciągu interpolowanym.
- formattedCount
- Int32
Liczba wyrażeń interpolacji w ciągu interpolowanym.
- collection
- IEnumerable<TItem>
Aserdykowana kolekcja; komunikat jest obliczany tylko wtedy, gdy potwierdzenie zakończy się niepowodzeniem.
- shouldAppend
- Boolean
Gdy ta metoda zwraca wartość, wskazuje, czy ma zostać obliczony ciąg interpolowany.
Dotyczy
Assert.AssertSingleInterpolatedStringHandler<TItem>(Int32, Int32, Memory<TItem>, Boolean)
Inicjuje nowe wystąpienie Assert.AssertSingleInterpolatedStringHandler<TItem> struktury.
public AssertSingleInterpolatedStringHandler(int literalLength, int formattedCount, Memory<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item> : int * int * Memory<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, collection As Memory(Of TItem), ByRef shouldAppend As Boolean)
Parametry
- literalLength
- Int32
Liczba stałych znaków w ciągu interpolowanym.
- formattedCount
- Int32
Liczba wyrażeń interpolacji w ciągu interpolowanym.
- collection
- Memory<TItem>
Aserdykowana kolekcja; komunikat jest obliczany tylko wtedy, gdy potwierdzenie zakończy się niepowodzeniem.
- shouldAppend
- Boolean
Gdy ta metoda zwraca wartość, wskazuje, czy ma zostać obliczony ciąg interpolowany.
Dotyczy
Assert.AssertSingleInterpolatedStringHandler<TItem>(Int32, Int32, ReadOnlyMemory<TItem>, Boolean)
Inicjuje nowe wystąpienie Assert.AssertSingleInterpolatedStringHandler<TItem> struktury.
public AssertSingleInterpolatedStringHandler(int literalLength, int formattedCount, ReadOnlyMemory<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item> : int * int * ReadOnlyMemory<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, collection As ReadOnlyMemory(Of TItem), ByRef shouldAppend As Boolean)
Parametry
- literalLength
- Int32
Liczba stałych znaków w ciągu interpolowanym.
- formattedCount
- Int32
Liczba wyrażeń interpolacji w ciągu interpolowanym.
- collection
- ReadOnlyMemory<TItem>
Aserdykowana kolekcja; komunikat jest obliczany tylko wtedy, gdy potwierdzenie zakończy się niepowodzeniem.
- shouldAppend
- Boolean
Gdy ta metoda zwraca wartość, wskazuje, czy ma zostać obliczony ciąg interpolowany.
Dotyczy
Assert.AssertSingleInterpolatedStringHandler<TItem>(Int32, Int32, ReadOnlySpan<TItem>, Boolean)
Inicjuje nowe wystąpienie Assert.AssertSingleInterpolatedStringHandler<TItem> struktury.
public AssertSingleInterpolatedStringHandler(int literalLength, int formattedCount, ReadOnlySpan<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item> : int * int * ReadOnlySpan<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, collection As ReadOnlySpan(Of TItem), ByRef shouldAppend As Boolean)
Parametry
- literalLength
- Int32
Liczba stałych znaków w ciągu interpolowanym.
- formattedCount
- Int32
Liczba wyrażeń interpolacji w ciągu interpolowanym.
- collection
- ReadOnlySpan<TItem>
Aserdykowana kolekcja; komunikat jest obliczany tylko wtedy, gdy potwierdzenie zakończy się niepowodzeniem.
- shouldAppend
- Boolean
Gdy ta metoda zwraca wartość, wskazuje, czy ma zostać obliczony ciąg interpolowany.
Dotyczy
Assert.AssertSingleInterpolatedStringHandler<TItem>(Int32, Int32, Span<TItem>, Boolean)
Inicjuje nowe wystąpienie Assert.AssertSingleInterpolatedStringHandler<TItem> struktury.
public AssertSingleInterpolatedStringHandler(int literalLength, int formattedCount, Span<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item> : int * int * Span<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, collection As Span(Of TItem), ByRef shouldAppend As Boolean)
Parametry
- literalLength
- Int32
Liczba stałych znaków w ciągu interpolowanym.
- formattedCount
- Int32
Liczba wyrażeń interpolacji w ciągu interpolowanym.
- collection
- Span<TItem>
Aserdykowana kolekcja; komunikat jest obliczany tylko wtedy, gdy potwierdzenie zakończy się niepowodzeniem.
- shouldAppend
- Boolean
Gdy ta metoda zwraca wartość, wskazuje, czy ma zostać obliczony ciąg interpolowany.