Assert.AreNotSame 方法

定义

重载

AreNotSame(Object, Object, String)
AreNotSame(Object, Object, String, Object[])
AreNotSame(Object, Object)

AreNotSame(Object, Object, String)

public static void AreNotSame (object expected, object actual, string message);
static member AreNotSame : obj * obj * string -> unit

参数

expected
Object
actual
Object
message
String

适用于

AreNotSame(Object, Object, String, Object[])

public static void AreNotSame (object expected, object actual, string message, params object[] args);
static member AreNotSame : obj * obj * string * obj[] -> unit

参数

expected
Object
actual
Object
message
String
args
Object[]

适用于

AreNotSame(Object, Object)

public static void AreNotSame (object expected, object actual);
static member AreNotSame : obj * obj -> unit

参数

expected
Object
actual
Object

适用于