Compartilhar via


Contract.Requires Método

Definição

Sobrecargas

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)

Parâmetros

condition
Boolean

Aplica-se a

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)

Parâmetros

condition
Boolean
message
String

Aplica-se a