Assert.AssertIsFalseInterpolatedStringHandler Constructor

Definition

Initializes a new instance of the Assert.AssertIsFalseInterpolatedStringHandler struct.

public AssertIsFalseInterpolatedStringHandler(int literalLength, int formattedCount, bool? condition, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsFalseInterpolatedStringHandler : int * int * Nullable<bool> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsFalseInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, condition As Nullable(Of Boolean), 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.

condition
Nullable<Boolean>

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