Method | Description | |
---|---|---|
EnsureNotNullOrEmpty ( string value, string name = null ) : void |
Throws a ArgumentNullException if value is null or empty.
|
|
EnsureNotNullOrWhitespace ( string value, string name = null ) : void |
Throws a ArgumentNullException if value is null, empty, or whitespace.
|
public static EnsureNotNullOrEmpty ( string value, string name = null ) : void | ||
value | string | /// The value to be verified. /// |
name | string |
/// The name that will be passed as argument of the |
return | void |
public static EnsureNotNullOrWhitespace ( string value, string name = null ) : void | ||
value | string | /// The value to be verified. /// |
name | string |
/// The name that will be passed as argument of the |
return | void |