Assume.That Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
- code
- TestDelegate
- constraint
- IResolveConstraint
Applies to
That(Boolean, String)
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[])
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
- expr
- IResolveConstraint
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
- expr
- IResolveConstraint
- 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
- expr
- IResolveConstraint
- 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[]