Assert.AssertCountInterpolatedStringHandler<TItem> Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, IEnumerable<TItem>, Boolean)
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
Inicializuje novou instanci struktury Assert.AssertCountInterpolatedStringHandler<TItem>.
public AssertCountInterpolatedStringHandler(int literalLength, int formattedCount, System.Collections.Generic.IEnumerable<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item> : int * int * seq<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, collection As IEnumerable(Of TItem), ByRef shouldAppend As Boolean)
Parametry
- literalLength
- Int32
Počet konstantních znaků v interpolovaném řetězci.
- formattedCount
- Int32
Počet interpolačních výrazů v interpolovaném řetězci.
- collection
- IEnumerable<TItem>
Kolekce, která se uplatňuje; zpráva se vypočítá pouze v případě, že kontrolní výraz selže.
- shouldAppend
- Boolean
Když tato metoda vrátí, určuje, zda má být interpolovaný řetězec vyhodnocen.
Platí pro
Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, IEnumerable<TItem>, Boolean)
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
- Zdroj:
- Assert.Count.cs
Inicializuje novou instanci struktury Assert.AssertCountInterpolatedStringHandler<TItem>.
public AssertCountInterpolatedStringHandler(int literalLength, int formattedCount, int count, System.Collections.Generic.IEnumerable<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item> : int * int * int * seq<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, count As Integer, collection As IEnumerable(Of TItem), ByRef shouldAppend As Boolean)
Parametry
- literalLength
- Int32
Počet konstantních znaků v interpolovaném řetězci.
- formattedCount
- Int32
Počet interpolačních výrazů v interpolovaném řetězci.
- count
- Int32
Očekávaný počet položek.
- collection
- IEnumerable<TItem>
Kolekce, která se uplatňuje; zpráva se vypočítá pouze v případě, že kontrolní výraz selže.
- shouldAppend
- Boolean
Když tato metoda vrátí, určuje, zda má být interpolovaný řetězec vyhodnocen.
Platí pro
Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, Memory<TItem>, Boolean)
Inicializuje novou instanci struktury Assert.AssertCountInterpolatedStringHandler<TItem>.
public AssertCountInterpolatedStringHandler(int literalLength, int formattedCount, int count, Memory<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item> : int * int * int * Memory<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, count As Integer, collection As Memory(Of TItem), ByRef shouldAppend As Boolean)
Parametry
- literalLength
- Int32
Počet konstantních znaků v interpolovaném řetězci.
- formattedCount
- Int32
Počet interpolačních výrazů v interpolovaném řetězci.
- count
- Int32
Očekávaný počet položek.
- collection
- Memory<TItem>
Kolekce, která se uplatňuje; zpráva se vypočítá pouze v případě, že kontrolní výraz selže.
- shouldAppend
- Boolean
Když tato metoda vrátí, určuje, zda má být interpolovaný řetězec vyhodnocen.
Platí pro
Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, ReadOnlyMemory<TItem>, Boolean)
Inicializuje novou instanci struktury Assert.AssertCountInterpolatedStringHandler<TItem>.
public AssertCountInterpolatedStringHandler(int literalLength, int formattedCount, int count, ReadOnlyMemory<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item> : int * int * int * ReadOnlyMemory<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, count As Integer, collection As ReadOnlyMemory(Of TItem), ByRef shouldAppend As Boolean)
Parametry
- literalLength
- Int32
Počet konstantních znaků v interpolovaném řetězci.
- formattedCount
- Int32
Počet interpolačních výrazů v interpolovaném řetězci.
- count
- Int32
Očekávaný počet položek.
- collection
- ReadOnlyMemory<TItem>
Kolekce, která se uplatňuje; zpráva se vypočítá pouze v případě, že kontrolní výraz selže.
- shouldAppend
- Boolean
Když tato metoda vrátí, určuje, zda má být interpolovaný řetězec vyhodnocen.
Platí pro
Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, ReadOnlySpan<TItem>, Boolean)
Inicializuje novou instanci struktury Assert.AssertCountInterpolatedStringHandler<TItem>.
public AssertCountInterpolatedStringHandler(int literalLength, int formattedCount, int count, ReadOnlySpan<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item> : int * int * int * ReadOnlySpan<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, count As Integer, collection As ReadOnlySpan(Of TItem), ByRef shouldAppend As Boolean)
Parametry
- literalLength
- Int32
Počet konstantních znaků v interpolovaném řetězci.
- formattedCount
- Int32
Počet interpolačních výrazů v interpolovaném řetězci.
- count
- Int32
Očekávaný počet položek.
- collection
- ReadOnlySpan<TItem>
Kolekce, která se uplatňuje; zpráva se vypočítá pouze v případě, že kontrolní výraz selže.
- shouldAppend
- Boolean
Když tato metoda vrátí, určuje, zda má být interpolovaný řetězec vyhodnocen.
Platí pro
Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, Span<TItem>, Boolean)
Inicializuje novou instanci struktury Assert.AssertCountInterpolatedStringHandler<TItem>.
public AssertCountInterpolatedStringHandler(int literalLength, int formattedCount, int count, Span<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item> : int * int * int * Span<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertCountInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, count As Integer, collection As Span(Of TItem), ByRef shouldAppend As Boolean)
Parametry
- literalLength
- Int32
Počet konstantních znaků v interpolovaném řetězci.
- formattedCount
- Int32
Počet interpolačních výrazů v interpolovaném řetězci.
- count
- Int32
Očekávaný počet položek.
- collection
- Span<TItem>
Kolekce, která se uplatňuje; zpráva se vypočítá pouze v případě, že kontrolní výraz selže.
- shouldAppend
- Boolean
Když tato metoda vrátí, určuje, zda má být interpolovaný řetězec vyhodnocen.