Compartilhar via


Contract.Invariant Método

Definição

Sobrecargas

Invariant(Boolean)
Invariant(Boolean, String)

Invariant(Boolean)

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

Parâmetros

condition
Boolean

Aplica-se a

Invariant(Boolean, String)

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

Parâmetros

condition
Boolean
message
String

Aplica-se a