Assert.IsTrue Method

Definition

Overloads

IsTrue(Boolean, String)
IsTrue(Boolean, String, Object[])
IsTrue(Boolean)

IsTrue(Boolean, String)

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

Parameters

condition
Boolean
message
String

Applies to

IsTrue(Boolean, String, Object[])

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

Parameters

condition
Boolean
message
String
args
Object[]

Applies to

IsTrue(Boolean)

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

Parameters

condition
Boolean

Applies to