AssertIsNotNullOrWhiteSpace Method |
Throws ArgumentException if the string is null or empty.
Namespace:
Gile.AutoCAD.R20.Extension
Assembly:
Gile.AutoCAD.R20.Extension (in Gile.AutoCAD.R20.Extension.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic static void IsNotNullOrWhiteSpace(
string str,
string paramName
)
Public Shared Sub IsNotNullOrWhiteSpace (
str As String,
paramName As String
)
public:
static void IsNotNullOrWhiteSpace(
String^ str,
String^ paramName
)
static member IsNotNullOrWhiteSpace :
str : string *
paramName : string -> unit
Parameters
- str
- Type: SystemString
The string to which the assertion applies. - paramName
- Type: SystemString
Name of the parameter.
See Also