ObjectExtensions..::..RaiseIfNullOrWhitespace Method

Raises if null or whitespace.

Namespace:  FastMoq.Extensions
Assembly:  FastMoq.Core (in FastMoq.Core.dll)

Syntax


public static void RaiseIfNullOrWhitespace(
	this Nullable<string> thing,
	Nullable<string> name,
	Nullable<string> path,
	Nullable<int> line,
	Nullable<string> exp
)
<ExtensionAttribute> _
Public Shared Sub RaiseIfNullOrWhitespace ( _
	thing As Nullable(Of String), _
	name As Nullable(Of String), _
	path As Nullable(Of String), _
	line As Nullable(Of Integer), _
	exp As Nullable(Of String) _
)
[ExtensionAttribute]
public:
static void RaiseIfNullOrWhitespace(
	Nullable<String^> thing, 
	Nullable<String^> name, 
	Nullable<String^> path, 
	Nullable<int^> line, 
	Nullable<String^> exp
)

Parameters

thing
Type: Nullable<(Of <(<'String>)>)>
The thing.
name
Type: Nullable<(Of <(<'String>)>)>
The name.
path
Type: Nullable<(Of <(<'String>)>)>
The path.
line
Type: Nullable<(Of <(<'Int32>)>)>
The line.
exp
Type: Nullable<(Of <(<'String>)>)>
The exp.