Язык

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

При возврате этого метода указывает, следует ли оценивать интерполированную строку.

Применяется к