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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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