Assert.AssertAreNotEqualInterpolatedStringHandler<TArgument> Constructors

Definition

Overloads

Assert.AssertAreNotEqualInterpolatedStringHandler<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.AssertAreNotEqualInterpolatedStringHandler<TArgument> struct.

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

notExpected
TArgument

The value that is not expected.

actual
TArgument

The actual value being asserted.

shouldAppend
Boolean

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

Applies to

Assert.AssertAreNotEqualInterpolatedStringHandler<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.AssertAreNotEqualInterpolatedStringHandler<TArgument> struct.

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

notExpected
TArgument

The value that is not expected.

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