Compartilhar via


Assume.That Método

Definição

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

Aplica-se 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

Aplica-se a

That(Boolean, String)

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

Parâmetros

condition
Boolean
message
String

Aplica-se 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

Aplica-se 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[]

Aplica-se 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

Aplica-se 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[]

Aplica-se 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

Aplica-se 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

Aplica-se 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

Aplica-se 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

Aplica-se 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[]

Aplica-se 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[]

Aplica-se a