Class ValidationOptions
validation related options
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public sealed class ValidationOptions
Properties
EnableDataAnnotationsSupport
set this property to true
if you'd like to enable support for System.ComponentModel.DataAnnotations
attributes for basic validation.
Declaration
public bool EnableDataAnnotationsSupport { set; }
Property Value
Type | Description |
---|---|
bool |