Méthode | Description | |
---|---|---|
False ( bool condition ) : void |
Verifies that the condition is false.
|
|
False ( bool condition, string userMessage ) : void |
Verifies that the condition is false.
|
|
IsFalse ( bool condition, string userMessage ) : void | ||
IsTrue ( bool condition, string userMessage ) : void | ||
NotNull ( object @object, string userMessage ) : void |
Verifies that an object reference is not null.
|
|
Null ( object @object, string userMessage ) : void |
Verifies that an object reference is null.
|
|
True ( bool condition ) : void |
Verifies that an expression is true.
|
|
True ( bool condition, string userMessage ) : void |
Verifies that an expression is true.
|
Méthode | Description | |
---|---|---|
IsNull ( object @object, string userMessage ) : void | ||
RecordException ( System.Action testCode ) : |
||
RecordException ( Func |
||
RecordException ( Func | ||
RecordExceptionAsync ( Func |
public static False ( bool condition ) : void | ||
condition | bool | The condition to be tested |
Résultat | void |
public static False ( bool condition, string userMessage ) : void | ||
condition | bool | The condition to be tested |
userMessage | string | The message to show when the condition is not false |
Résultat | void |
public static IsFalse ( bool condition, string userMessage ) : void | ||
condition | bool | |
userMessage | string | |
Résultat | void |
public static IsTrue ( bool condition, string userMessage ) : void | ||
condition | bool | |
userMessage | string | |
Résultat | void |
public static NotNull ( object @object, string userMessage ) : void | ||
@object | object | |
userMessage | string | |
Résultat | void |
public static Null ( object @object, string userMessage ) : void | ||
@object | object | |
userMessage | string | |
Résultat | void |
public static True ( bool condition ) : void | ||
condition | bool | The condition to be inspected |
Résultat | void |
public static True ( bool condition, string userMessage ) : void | ||
condition | bool | The condition to be inspected |
userMessage | string | The message to be shown when the condition is false |
Résultat | void |