Метод | Описание | |
---|---|---|
Against ( this str, char illegalChar, string message = null ) : void | ||
Against ( this str, string illegalSubstr, string message = null ) : void | ||
NotGreaterThan ( this value, int maximumValue ) : void | ||
NotLessThan ( this value, int minimumValue ) : void | ||
NotNegative ( this value ) : void | ||
True ( bool boolean, string errorMessage = "Expression should be true, but was false" ) : void |
public static Against ( this str, char illegalChar, string message = null ) : void | ||
str | this | |
illegalChar | char | |
message | string | |
Результат | void |
public static Against ( this str, string illegalSubstr, string message = null ) : void | ||
str | this | |
illegalSubstr | string | |
message | string | |
Результат | void |
public static NotGreaterThan ( this value, int maximumValue ) : void | ||
value | this | |
maximumValue | int | |
Результат | void |
public static NotLessThan ( this value, int minimumValue ) : void | ||
value | this | |
minimumValue | int | |
Результат | void |
public static NotNegative ( this value ) : void | ||
value | this | |
Результат | void |
public static True ( bool boolean, string errorMessage = "Expression should be true, but was false" ) : void | ||
boolean | bool | |
errorMessage | string | |
Результат | void |