NullableGuidNotNullOrEmptyValidator
Members
Namespace: ASPSecurityKit.ServiceStack.Validators
Assembly: ASPSecurityKit.ServiceStack.dll
Summary
Validator to enforce that the value of a property of Nullable`1 type where T is Guid should not be null or Empty.
Constructors
#ctor()
Summary
Initializes a new instance of the NullableGuidNotNullOrEmptyValidator class.
Parameters
This constructor has no parameters.
Methods
IsValid(context)
Summary
Determines whether the value of the property is not null or Empty.
Returns
true
if the value of the property is not null or Empty; otherwise, false
.
Parameters
Name | Type | Description |
---|---|---|
context | ServiceStack.FluentValidation.Validators.PropertyValidatorContext | The property validator context. |