Click or drag to resize

NonNullStringValidatorValidate Method

Determines whether or not the specified value is a valid string that is not null, empty or consists only of whitespaces.

Namespace: GSF.Validation
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.297-beta+c4c8a839e939f7741977e6b01208d8a074273105
Syntax
public bool Validate(
	Object value,
	out string validationError
)
View Source

Parameters

value  Object
The value to be validated.
validationError  String
Error message returned if the value is invalid.

Return Value

Boolean
true if the value is valid; otherwise false.

Implements

IValidatorValidate(Object, String)
See Also