Assert.AssertCountInterpolatedStringHandler<TItem> Constructors

Definition

Overloads

Name Description
Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, IEnumerable<TItem>, Boolean)

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, IEnumerable<TItem>, Boolean)

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, Memory<TItem>, Boolean)

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, ReadOnlyMemory<TItem>, Boolean)

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, ReadOnlySpan<TItem>, Boolean)

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, Span<TItem>, Boolean)

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, IEnumerable<TItem>, Boolean)

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

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

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)

Parameters

literalLength
Int32

The number of constant characters in the interpolated string.

formattedCount
Int32

The number of interpolation expressions in the interpolated string.

collection
IEnumerable<TItem>

The collection being asserted; the message is only computed when the assertion fails.

shouldAppend
Boolean

When this method returns, indicates whether the interpolated string should be evaluated.

Applies to

Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, IEnumerable<TItem>, Boolean)

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

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

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)

Parameters

literalLength
Int32

The number of constant characters in the interpolated string.

formattedCount
Int32

The number of interpolation expressions in the interpolated string.

count
Int32

The expected item count.

collection
IEnumerable<TItem>

The collection being asserted; the message is only computed when the assertion fails.

shouldAppend
Boolean

When this method returns, indicates whether the interpolated string should be evaluated.

Applies to

Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, Memory<TItem>, Boolean)

Source:
Assert.Count.InterpolatedStringHandlers.cs

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

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)

Parameters

literalLength
Int32

The number of constant characters in the interpolated string.

formattedCount
Int32

The number of interpolation expressions in the interpolated string.

count
Int32

The expected item count.

collection
Memory<TItem>

The collection being asserted; the message is only computed when the assertion fails.

shouldAppend
Boolean

When this method returns, indicates whether the interpolated string should be evaluated.

Applies to

Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, ReadOnlyMemory<TItem>, Boolean)

Source:
Assert.Count.InterpolatedStringHandlers.cs

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

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)

Parameters

literalLength
Int32

The number of constant characters in the interpolated string.

formattedCount
Int32

The number of interpolation expressions in the interpolated string.

count
Int32

The expected item count.

collection
ReadOnlyMemory<TItem>

The collection being asserted; the message is only computed when the assertion fails.

shouldAppend
Boolean

When this method returns, indicates whether the interpolated string should be evaluated.

Applies to

Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, ReadOnlySpan<TItem>, Boolean)

Source:
Assert.Count.InterpolatedStringHandlers.cs

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

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)

Parameters

literalLength
Int32

The number of constant characters in the interpolated string.

formattedCount
Int32

The number of interpolation expressions in the interpolated string.

count
Int32

The expected item count.

collection
ReadOnlySpan<TItem>

The collection being asserted; the message is only computed when the assertion fails.

shouldAppend
Boolean

When this method returns, indicates whether the interpolated string should be evaluated.

Applies to

Assert.AssertCountInterpolatedStringHandler<TItem>(Int32, Int32, Int32, Span<TItem>, Boolean)

Source:
Assert.Count.InterpolatedStringHandlers.cs

Initializes a new instance of the Assert.AssertCountInterpolatedStringHandler<TItem> struct.

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)

Parameters

literalLength
Int32

The number of constant characters in the interpolated string.

formattedCount
Int32

The number of interpolation expressions in the interpolated string.

count
Int32

The expected item count.

collection
Span<TItem>

The collection being asserted; the message is only computed when the assertion fails.

shouldAppend
Boolean

When this method returns, indicates whether the interpolated string should be evaluated.

Applies to