Метод | Описание | |
---|---|---|
GreaterThanOrEqualToZero ( decimal value, string message, string argumentName ) : void |
Ensures that the specified decimal value is greater than or equal to zero.
|
|
GreaterThanOrEqualToZero ( int value, string message, string argumentName ) : void |
Ensures that the specified int value is greater than or equal to zero.
|
|
GreaterThanZero ( int value, string message, string argumentName ) : void |
Ensures that the specified int value is greater than zero.
|
|
NotEmpty ( DateTime value, string message, string argumentName ) : void |
Ensures that the specified DateTime value is not empty.
|
|
NotEmpty ( string value, string message, string argumentName ) : void |
Ensures that the specified string value is not empty.
|
|
NotNull ( object value, string message, string argumentName ) : void |
Ensures that the specified value is not null.
|
public static GreaterThanOrEqualToZero ( decimal value, string message, string argumentName ) : void | ||
value | decimal | The value to check. |
message | string | The message to show if the check fails. |
argumentName | string | The name of the argument being checked. |
Результат | void |
public static GreaterThanOrEqualToZero ( int value, string message, string argumentName ) : void | ||
value | int | The value to check. |
message | string | The message to show if the check fails. |
argumentName | string | The name of the argument being checked. |
Результат | void |
public static GreaterThanZero ( int value, string message, string argumentName ) : void | ||
value | int | The value to check. |
message | string | The message to show if the check fails. |
argumentName | string | The name of the argument being checked. |
Результат | void |
public static NotEmpty ( DateTime value, string message, string argumentName ) : void | ||
value | DateTime | The value to check. |
message | string | The message to show if the check fails. |
argumentName | string | The name of the argument being checked. |
Результат | void |
public static NotEmpty ( string value, string message, string argumentName ) : void | ||
value | string | The value to check. |
message | string | The message to show if the check fails. |
argumentName | string | The name of the argument being checked. |
Результат | void |
public static NotNull ( object value, string message, string argumentName ) : void | ||
value | object | The value to check. |
message | string | The message to show if the check fails. |
argumentName | string | The name of the argument being checked. |
Результат | void |