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.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
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