Search Results for

    Show / Hide Table of Contents
    View Source

    Class JsonDateTimeFormatAttribute

    Applying this attribute to any controller will ensure that it only contains one json formatter compatible with the angular json vulnerability prevention.

    Inheritance
    System.Object
    System.Attribute
    Microsoft.AspNetCore.Mvc.TypeFilterAttribute
    Namespace: Umbraco.Cms.Web.Common.Filters
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public sealed class JsonDateTimeFormatAttribute : TypeFilterAttribute, IFilterFactory, IOrderedFilter, IFilterMetadata

    Constructors

    View Source

    JsonDateTimeFormatAttribute()

    Initializes a new instance of the JsonDateTimeFormatAttribute class.

    Declaration
    public JsonDateTimeFormatAttribute()
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • JsonDateTimeFormatAttribute()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX