Compartir a través de


Assume.That Método

Definición

Sobrecargas

That(Boolean)
That(TestDelegate, IResolveConstraint)
That(Boolean, String)
That(Object, IResolveConstraint)
That(Boolean, String, Object[])
That(Object, IResolveConstraint, String)
That(Object, IResolveConstraint, String, Object[])
That<T>(ActualValueDelegate<T>, IResolveConstraint)
That<T>(T, IResolveConstraint)
That<T>(ActualValueDelegate<T>, IResolveConstraint, String)
That<T>(T, IResolveConstraint, String)
That<T>(ActualValueDelegate<T>, IResolveConstraint, String, Object[])
That<T>(T, IResolveConstraint, String, Object[])

That(Boolean)

public static void That (bool condition);
static member That : bool -> unit

Parámetros

condition
Boolean

Se aplica a

That(TestDelegate, IResolveConstraint)

public static void That (NUnit.Framework.TestDelegate code, NUnit.Framework.Constraints.IResolveConstraint constraint);
static member That : NUnit.Framework.TestDelegate * NUnit.Framework.Constraints.IResolveConstraint -> unit

Parámetros

constraint
IResolveConstraint

Se aplica a

That(Boolean, String)

public static void That (bool condition, string message);
static member That : bool * string -> unit

Parámetros

condition
Boolean
message
String

Se aplica a

That(Object, IResolveConstraint)

public static void That (object actual, NUnit.Framework.Constraints.IResolveConstraint expression);
static member That : obj * NUnit.Framework.Constraints.IResolveConstraint -> unit

Parámetros

actual
Object
expression
IResolveConstraint

Se aplica a

That(Boolean, String, Object[])

public static void That (bool condition, string message, params object[] args);
static member That : bool * string * obj[] -> unit

Parámetros

condition
Boolean
message
String
args
Object[]

Se aplica a

That(Object, IResolveConstraint, String)

public static void That (object actual, NUnit.Framework.Constraints.IResolveConstraint expression, string message);
static member That : obj * NUnit.Framework.Constraints.IResolveConstraint * string -> unit

Parámetros

actual
Object
expression
IResolveConstraint
message
String

Se aplica a

That(Object, IResolveConstraint, String, Object[])

public static void That (object actual, NUnit.Framework.Constraints.IResolveConstraint expression, string message, params object[] args);
static member That : obj * NUnit.Framework.Constraints.IResolveConstraint * string * obj[] -> unit

Parámetros

actual
Object
expression
IResolveConstraint
message
String
args
Object[]

Se aplica a

That<T>(ActualValueDelegate<T>, IResolveConstraint)

public static void That<T> (NUnit.Framework.Constraints.ActualValueDelegate<T> del, NUnit.Framework.Constraints.IResolveConstraint expr);
static member That : NUnit.Framework.Constraints.ActualValueDelegate<'T> * NUnit.Framework.Constraints.IResolveConstraint -> unit

Parámetros de tipo

T

Parámetros

Se aplica a

That<T>(T, IResolveConstraint)

public static void That<T> (ref T actual, NUnit.Framework.Constraints.IResolveConstraint expression);
static member That :  * NUnit.Framework.Constraints.IResolveConstraint -> unit

Parámetros de tipo

T

Parámetros

actual
T
expression
IResolveConstraint

Se aplica a

That<T>(ActualValueDelegate<T>, IResolveConstraint, String)

public static void That<T> (NUnit.Framework.Constraints.ActualValueDelegate<T> del, NUnit.Framework.Constraints.IResolveConstraint expr, string message);
static member That : NUnit.Framework.Constraints.ActualValueDelegate<'T> * NUnit.Framework.Constraints.IResolveConstraint * string -> unit

Parámetros de tipo

T

Parámetros

message
String

Se aplica a

That<T>(T, IResolveConstraint, String)

public static void That<T> (ref T actual, NUnit.Framework.Constraints.IResolveConstraint expression, string message);
static member That :  * NUnit.Framework.Constraints.IResolveConstraint * string -> unit

Parámetros de tipo

T

Parámetros

actual
T
expression
IResolveConstraint
message
String

Se aplica a

That<T>(ActualValueDelegate<T>, IResolveConstraint, String, Object[])

public static void That<T> (NUnit.Framework.Constraints.ActualValueDelegate<T> del, NUnit.Framework.Constraints.IResolveConstraint expr, string message, params object[] args);
static member That : NUnit.Framework.Constraints.ActualValueDelegate<'T> * NUnit.Framework.Constraints.IResolveConstraint * string * obj[] -> unit

Parámetros de tipo

T

Parámetros

message
String
args
Object[]

Se aplica a

That<T>(T, IResolveConstraint, String, Object[])

public static void That<T> (ref T actual, NUnit.Framework.Constraints.IResolveConstraint expression, string message, params object[] args);
static member That :  * NUnit.Framework.Constraints.IResolveConstraint * string * obj[] -> unit

Parámetros de tipo

T

Parámetros

actual
T
expression
IResolveConstraint
message
String
args
Object[]

Se aplica a