ValidatorExtensions
Members
Namespace: ASPSecurityKit.ServiceStack.Validators
Assembly: ASPSecurityKit.ServiceStack.dll
Summary
Defines useful validator extension methods for fluent validation.
Methods
NotNullOrEmpty<T>(ruleBuilder)
Summary
Adds a validator rule to enforce that the value of the given property of Nullable`1 type where T is Guid should not be null or Empty.
Returns
The rule builder after adding a NullableGuidNotNullOrEmptyValidator rule to it.
Parameters
| Name | Type | Description |
|---|---|---|
| ruleBuilder | ServiceStack.FluentValidation.IRuleBuilder{T, System.Nullable<Guid>} | The rule builder. |
Generic Types
| Name | Description |
|---|---|
| T | The containing type. |