Düzenle

Aracılığıyla paylaş


Assume.That Method

Definition

Overloads

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

Parameters

condition
Boolean

Applies to

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

Parameters

constraint
IResolveConstraint

Applies to

That(Boolean, String)

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

Parameters

condition
Boolean
message
String

Applies to

That(Object, IResolveConstraint)

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

Parameters

actual
Object
expression
IResolveConstraint

Applies to

That(Boolean, String, Object[])

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

Parameters

condition
Boolean
message
String
args
Object[]

Applies to

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

Parameters

actual
Object
expression
IResolveConstraint
message
String

Applies to

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

Parameters

actual
Object
expression
IResolveConstraint
message
String
args
Object[]

Applies to

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

Type Parameters

T

Parameters

Applies to

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

Type Parameters

T

Parameters

actual
T
expression
IResolveConstraint

Applies to

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

Type Parameters

T

Parameters

message
String

Applies to

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

Type Parameters

T

Parameters

actual
T
expression
IResolveConstraint
message
String

Applies to

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

Type Parameters

T

Parameters

message
String
args
Object[]

Applies to

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

Type Parameters

T

Parameters

actual
T
expression
IResolveConstraint
message
String
args
Object[]

Applies to