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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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