Validates that required value is not empty.
For a list of all members of this type, see RequiredValidator Members .
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This validator uses following rules to determine if target value is valid:
|Target Type||Valid Value|
|A String.||Not |
|A DateTime.||Not MinValue and not MaxValue.|
|One of the number types.||Not zero.|
|A Char.||Not MinValue or whitespace.|
|Any reference type other than String.||Not |
You cannot use this validator to validate any value types other than the ones specified in the table above.
Assembly: Spring.Core (in Spring.Core.dll)