Assert.AssertIsNotEmptyInterpolatedStringHandler<TItem> 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.AssertIsNotEmptyInterpolatedStringHandler<TItem> struct.
public AssertIsNotEmptyInterpolatedStringHandler(int literalLength, int formattedCount, System.Collections.Generic.IEnumerable<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNotEmptyInterpolatedStringHandler<'Item> : int * int * seq<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertIsNotEmptyInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, collection As IEnumerable(Of TItem), 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.
- collection
- IEnumerable<TItem>
The collection 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.