Свойство | Тип | Описание | |
---|---|---|---|
Check | System |
Метод | Описание | |
---|---|---|
Assert ( bool assertion ) : void |
Assertion check.
|
|
Assert ( bool assertion, string message ) : void |
Assertion check.
|
|
Assert ( bool assertion, string message, |
Assertion check.
|
|
Ensure ( bool assertion ) : void |
Postcondition check.
|
|
Ensure ( bool assertion, string message ) : void |
Postcondition check.
|
|
Ensure ( bool assertion, string message, |
Postcondition check.
|
|
Invariant ( bool assertion ) : void |
Invariant check.
|
|
Invariant ( bool assertion, string message ) : void |
Invariant check.
|
|
Invariant ( bool assertion, string message, |
Invariant check.
|
|
Require ( bool assertion ) : void |
Precondition check - should run regardless of preprocessor directives.
|
|
Require ( bool assertion, string message ) : void |
Precondition check - should run regardless of preprocessor directives.
|
|
Require ( bool assertion, string message, |
Precondition check - should run regardless of preprocessor directives.
|
Метод | Описание | |
---|---|---|
Check ( ) : System |
public static Assert ( bool assertion ) : void | ||
assertion | bool | |
Результат | void |
public static Assert ( bool assertion, string message ) : void | ||
assertion | bool | |
message | string | |
Результат | void |
public static Assert ( bool assertion, string message, |
||
assertion | bool | |
message | string | |
inner | ||
Результат | void |
public static Ensure ( bool assertion ) : void | ||
assertion | bool | |
Результат | void |
public static Ensure ( bool assertion, string message ) : void | ||
assertion | bool | |
message | string | |
Результат | void |
public static Ensure ( bool assertion, string message, |
||
assertion | bool | |
message | string | |
inner | ||
Результат | void |
public static Invariant ( bool assertion ) : void | ||
assertion | bool | |
Результат | void |
public static Invariant ( bool assertion, string message ) : void | ||
assertion | bool | |
message | string | |
Результат | void |
public static Invariant ( bool assertion, string message, |
||
assertion | bool | |
message | string | |
inner | ||
Результат | void |
public static Require ( bool assertion ) : void | ||
assertion | bool | |
Результат | void |
public static Require ( bool assertion, string message ) : void | ||
assertion | bool | |
message | string | |
Результат | void |
public static Require ( bool assertion, string message, |
||
assertion | bool | |
message | string | |
inner | ||
Результат | void |