Partager via


Contract.Requires Méthode

Définition

Surcharges

Requires(Boolean)
Requires(Boolean, String)

Requires(Boolean)

public static void Requires (bool condition);
static member Requires : bool -> unit
Public Shared Sub Requires (condition As Boolean)

Paramètres

condition
Boolean

S’applique à

Requires(Boolean, String)

public static void Requires (bool condition, string message);
static member Requires : bool * string -> unit
Public Shared Sub Requires (condition As Boolean, message As String)

Paramètres

condition
Boolean
message
String

S’applique à