Assert.AssertIsNotNullInterpolatedStringHandler Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Assert.AssertIsNotNullInterpolatedStringHandler struct.
public AssertIsNotNullInterpolatedStringHandler(int literalLength, int formattedCount, object value, out bool shouldAppend);
public AssertIsNotNullInterpolatedStringHandler(int literalLength, int formattedCount, object? value, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNotNullInterpolatedStringHandler : int * int * obj * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNotNullInterpolatedStringHandler
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.