Assert.AssertAreEqualInterpolatedStringHandler<TArgument> Constructors

Definition

Overloads

Assert.AssertAreEqualInterpolatedStringHandler<TArgument>(Int32, Int32, IEquatable<TArgument>, IEquatable<TArgument>, Boolean)

Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
public AssertAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, IEquatable<TArgument>? expected, IEquatable<TArgument>? actual, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreEqualInterpolatedStringHandler<'Argument> : int * int * IEquatable<'Argument> * IEquatable<'Argument> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreEqualInterpolatedStringHandler<'Argument>
Public Sub New (literalLength As Integer, formattedCount As Integer, expected As IEquatable(Of TArgument), actual As IEquatable(Of TArgument), ByRef shouldAppend As Boolean)

Parameters

literalLength
Int32
formattedCount
Int32
expected
IEquatable<TArgument>
actual
IEquatable<TArgument>
shouldAppend
Boolean

Applies to

Assert.AssertAreEqualInterpolatedStringHandler<TArgument>(Int32, Int32, TArgument, TArgument, Boolean)

Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.InterpolatedStringHandlers.cs

Initializes a new instance of the Assert.AssertAreEqualInterpolatedStringHandler<TArgument> struct.

public AssertAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, TArgument expected, TArgument actual, out bool shouldAppend);
public AssertAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, TArgument? expected, TArgument? actual, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreEqualInterpolatedStringHandler<'Argument> : int * int * 'Argument * 'Argument * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreEqualInterpolatedStringHandler<'Argument>
Public Sub New (literalLength As Integer, formattedCount As Integer, expected As TArgument, actual As TArgument, 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.

expected
TArgument

The expected value being asserted.

actual
TArgument

The actual value being asserted.

shouldAppend
Boolean

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

Applies to

Assert.AssertAreEqualInterpolatedStringHandler<TArgument>(Int32, Int32, TArgument, TArgument, IEqualityComparer<TArgument>, Boolean)

Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.cs
Source:
Assert.AreEqual.InterpolatedStringHandlers.cs

Initializes a new instance of the Assert.AssertAreEqualInterpolatedStringHandler<TArgument> struct.

public AssertAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, TArgument expected, TArgument actual, System.Collections.Generic.IEqualityComparer<TArgument>? comparer, out bool shouldAppend);
public AssertAreEqualInterpolatedStringHandler(int literalLength, int formattedCount, TArgument? expected, TArgument? actual, System.Collections.Generic.IEqualityComparer<TArgument>? comparer, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreEqualInterpolatedStringHandler<'Argument> : int * int * 'Argument * 'Argument * System.Collections.Generic.IEqualityComparer<'Argument> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreEqualInterpolatedStringHandler<'Argument>
Public Sub New (literalLength As Integer, formattedCount As Integer, expected As TArgument, actual As TArgument, comparer As IEqualityComparer(Of TArgument), 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.

expected
TArgument

The expected value being asserted.

actual
TArgument

The actual value being asserted.

comparer
IEqualityComparer<TArgument>

The equality comparer used to compare values.

shouldAppend
Boolean

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

Applies to