Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler(Int32, Int32, Decimal, Decimal, Decimal, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initialise une nouvelle instance du Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler struct.
public AssertNonGenericAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, decimal notExpected, decimal actual, decimal delta, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler : int * int * decimal * decimal * decimal * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, notExpected As Decimal, actual As Decimal, delta As Decimal, ByRef shouldAppend As Boolean)
Paramètres
- literalLength
- Int32
Nombre de caractères constants dans la chaîne interpolée.
- formattedCount
- Int32
Nombre d’expressions d’interpolation dans la chaîne interpolée.
- notExpected
- Decimal
Valeur qui n’est pas attendue.
- actual
- Decimal
Valeur réelle déclarée.
- delta
- Decimal
Différence maximale autorisée entre les valeurs attendues et réelles.
- shouldAppend
- Boolean
Lorsque cette méthode est retournée, indique si la chaîne interpolée doit être évaluée.
S’applique à
Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler(Int32, Int32, Double, Double, Double, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initialise une nouvelle instance du Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler struct.
public AssertNonGenericAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, double notExpected, double actual, double delta, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler : int * int * double * double * double * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, notExpected As Double, actual As Double, delta As Double, ByRef shouldAppend As Boolean)
Paramètres
- literalLength
- Int32
Nombre de caractères constants dans la chaîne interpolée.
- formattedCount
- Int32
Nombre d’expressions d’interpolation dans la chaîne interpolée.
- notExpected
- Double
Valeur qui n’est pas attendue.
- actual
- Double
Valeur réelle déclarée.
- delta
- Double
Différence maximale autorisée entre les valeurs attendues et réelles.
- shouldAppend
- Boolean
Lorsque cette méthode est retournée, indique si la chaîne interpolée doit être évaluée.
S’applique à
Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler(Int32, Int32, Int64, Int64, Int64, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initialise une nouvelle instance du Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler struct.
public AssertNonGenericAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, long notExpected, long actual, long delta, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler : int * int * int64 * int64 * int64 * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, notExpected As Long, actual As Long, delta As Long, ByRef shouldAppend As Boolean)
Paramètres
- literalLength
- Int32
Nombre de caractères constants dans la chaîne interpolée.
- formattedCount
- Int32
Nombre d’expressions d’interpolation dans la chaîne interpolée.
- notExpected
- Int64
Valeur qui n’est pas attendue.
- actual
- Int64
Valeur réelle déclarée.
- delta
- Int64
Différence maximale autorisée entre les valeurs attendues et réelles.
- shouldAppend
- Boolean
Lorsque cette méthode est retournée, indique si la chaîne interpolée doit être évaluée.
S’applique à
Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler(Int32, Int32, Single, Single, Single, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initialise une nouvelle instance du Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler struct.
public AssertNonGenericAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, float notExpected, float actual, float delta, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler : int * int * single * single * single * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, notExpected As Single, actual As Single, delta As Single, ByRef shouldAppend As Boolean)
Paramètres
- literalLength
- Int32
Nombre de caractères constants dans la chaîne interpolée.
- formattedCount
- Int32
Nombre d’expressions d’interpolation dans la chaîne interpolée.
- notExpected
- Single
Valeur qui n’est pas attendue.
- actual
- Single
Valeur réelle déclarée.
- delta
- Single
Différence maximale autorisée entre les valeurs attendues et réelles.
- shouldAppend
- Boolean
Lorsque cette méthode est retournée, indique si la chaîne interpolée doit être évaluée.
S’applique à
Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler(Int32, Int32, String, String, Boolean, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initialise une nouvelle instance du Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler struct.
public AssertNonGenericAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, string notExpected, string actual, bool ignoreCase, out bool shouldAppend);
public AssertNonGenericAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, string? notExpected, string? actual, bool ignoreCase, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler : int * int * string * string * bool * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, notExpected As String, actual As String, ignoreCase As Boolean, ByRef shouldAppend As Boolean)
Paramètres
- literalLength
- Int32
Nombre de caractères constants dans la chaîne interpolée.
- formattedCount
- Int32
Nombre d’expressions d’interpolation dans la chaîne interpolée.
- notExpected
- String
Valeur qui n’est pas attendue.
- actual
- String
Valeur réelle déclarée.
- ignoreCase
- Boolean
Valeur indiquant si la comparaison ignore la casse.
- shouldAppend
- Boolean
Lorsque cette méthode est retournée, indique si la chaîne interpolée doit être évaluée.
S’applique à
Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler(Int32, Int32, String, String, Boolean, CultureInfo, Boolean)
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
- Source:
- Assert.AreEqual.cs
Initialise une nouvelle instance du Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler struct.
public AssertNonGenericAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, string notExpected, string actual, bool ignoreCase, System.Globalization.CultureInfo culture, out bool shouldAppend);
public AssertNonGenericAreNotEqualInterpolatedStringHandler(int literalLength, int formattedCount, string? notExpected, string? actual, bool ignoreCase, System.Globalization.CultureInfo culture, out bool shouldAppend);
new Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler : int * int * string * string * bool * System.Globalization.CultureInfo * bool -> Microsoft.VisualStudio.TestTools.UnitTesting.Assert.AssertNonGenericAreNotEqualInterpolatedStringHandler
Public Sub New (literalLength As Integer, formattedCount As Integer, notExpected As String, actual As String, ignoreCase As Boolean, culture As CultureInfo, ByRef shouldAppend As Boolean)
Paramètres
- literalLength
- Int32
Nombre de caractères constants dans la chaîne interpolée.
- formattedCount
- Int32
Nombre d’expressions d’interpolation dans la chaîne interpolée.
- notExpected
- String
Valeur qui n’est pas attendue.
- actual
- String
Valeur réelle déclarée.
- ignoreCase
- Boolean
Valeur indiquant si la comparaison ignore la casse.
- culture
- CultureInfo
Culture utilisée pour la comparaison de chaînes.
- shouldAppend
- Boolean
Lorsque cette méthode est retournée, indique si la chaîne interpolée doit être évaluée.