Method | Description | |
---|---|---|
IfFalse ( string paramName, bool condition, string message ) : void | ||
IfInvalidFileName ( string fileName ) : void | ||
IfNegative ( string paramName, Percentage value ) : void | ||
IfNull ( string paramName, object value ) : void | ||
IfNull ( string paramName, object value, string message ) : void | ||
IfNullOrEmpty ( string paramName, [ value ) : void | ||
IfNullOrEmpty ( string paramName, string value, string message ) : void | ||
IfOutOfRange ( string paramName, int index, int length ) : void | ||
IfOutOfRange ( string paramName, int min, int max, int value, string message ) : void | ||
IfTrue ( string paramName, bool condition, string message ) : void |
Method | Description | |
---|---|---|
FormatMessage ( string message ) : string |
public static IfFalse ( string paramName, bool condition, string message ) : void | ||
paramName | string | |
condition | bool | |
message | string | |
return | void |
public static IfInvalidFileName ( string fileName ) : void | ||
fileName | string | |
return | void |
public static IfNegative ( string paramName, Percentage value ) : void | ||
paramName | string | |
value | Percentage | |
return | void |
public static IfNull ( string paramName, object value ) : void | ||
paramName | string | |
value | object | |
return | void |
public static IfNull ( string paramName, object value, string message ) : void | ||
paramName | string | |
value | object | |
message | string | |
return | void |
public static IfNullOrEmpty ( string paramName, [ value ) : void | ||
paramName | string | |
value | [ | |
return | void |
public static IfNullOrEmpty ( string paramName, string value, string message ) : void | ||
paramName | string | |
value | string | |
message | string | |
return | void |
public static IfOutOfRange ( string paramName, int index, int length ) : void | ||
paramName | string | |
index | int | |
length | int | |
return | void |
public static IfOutOfRange ( string paramName, int min, int max, int value, string message ) : void | ||
paramName | string | |
min | int | |
max | int | |
value | int | |
message | string | |
return | void |
public static IfTrue ( string paramName, bool condition, string message ) : void | ||
paramName | string | |
condition | bool | |
message | string | |
return | void |