Assert.AssertSingleInterpolatedStringHandler<TItem> コンストラクター

定義

Assert.AssertSingleInterpolatedStringHandler<TItem> 構造体の新しいインスタンスを初期化します。

public AssertSingleInterpolatedStringHandler(int literalLength, int formattedCount, System.Collections.Generic.IEnumerable<TItem> collection, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item> : int * int * seq<'Item> * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertSingleInterpolatedStringHandler<'Item>
Public Sub New (literalLength As Integer, formattedCount As Integer, collection As IEnumerable(Of TItem), ByRef shouldAppend As Boolean)

パラメーター

literalLength
Int32

挿入文字列内の定数文字の数。

formattedCount
Int32

補間文字列内の補間式の数。

collection
IEnumerable<TItem>

アサートされているコレクション。メッセージは、アサーションが失敗した場合にのみ計算されます。

shouldAppend
Boolean

このメソッドから制御が戻るときに、補間された文字列を評価するかどうかを示します。

適用対象