Assert.AssertAreNotSameInterpolatedStringHandler<TArgument> コンストラクター

定義

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

public AssertAreNotSameInterpolatedStringHandler(int literalLength, int formattedCount, TArgument notExpected, TArgument actual, out bool shouldAppend);
public AssertAreNotSameInterpolatedStringHandler(int literalLength, int formattedCount, TArgument? notExpected, TArgument? actual, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreNotSameInterpolatedStringHandler<'Argument> : int * int * 'Argument * 'Argument * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertAreNotSameInterpolatedStringHandler<'Argument>
Public Sub New (literalLength As Integer, formattedCount As Integer, notExpected As TArgument, actual As TArgument, ByRef shouldAppend As Boolean)

パラメーター

literalLength
Int32

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

formattedCount
Int32

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

notExpected
TArgument

予期されない値。

actual
TArgument

アサートされる実際の値。

shouldAppend
Boolean

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

適用対象