次の方法で共有


Assert.IsTrue メソッド

定義

オーバーロード

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

パラメーター

condition
Boolean
message
String

適用対象

IsTrue(Boolean, String, Object[])

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

パラメーター

condition
Boolean
message
String
args
Object[]

適用対象

IsTrue(Boolean)

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

パラメーター

condition
Boolean

適用対象