Assert.AssertAreNotSameInterpolatedStringHandler<TArgument> コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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
このメソッドから制御が戻るときに、補間された文字列を評価するかどうかを示します。