Assert.AssertIsNullInterpolatedStringHandler Constructor

Definition

Initializes a new instance of the Assert.AssertIsNullInterpolatedStringHandler struct.

public AssertIsNullInterpolatedStringHandler(int literalLength, int formattedCount, object value, out bool shouldAppend);
public AssertIsNullInterpolatedStringHandler(int literalLength, int formattedCount, object? value, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNullInterpolatedStringHandler : int * int * obj * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNullInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, value As Object, 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.

value
Object

The value 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