Search Results for

    Show / Hide Table of Contents

    Class ValidationOptions

    validation related options

    Inheritance
    object
    ValidationOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    UsePropertyNamingPolicy

    specify whether to use the json property naming policy of the application for converting property names produced by fluentvalidations library

    Declaration
    public bool UsePropertyNamingPolicy { get; set; }
    Property Value
    Type Description
    bool
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX