Required Method

HttpServer.dll

Check's weather a parameter is null or not.

Namespace:  HttpServer.Helpers
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public bool Required(
	string name,
	string value
)
Visual Basic (Declaration)
Public Function Required ( _
	name As String, _
	value As String _
) As Boolean
Visual C++
public:
bool Required(
	String^ name, 
	String^ value
)

Parameters

name
Type: System..::.String
Parameter in form
value
Type: System..::.String
value that cannot be null or empty.

Return Value

true if value is not null/empty; otherwise false.

See Also