Class PrefixlessBodyModelValidatorAttribute
Applying this attribute to any controller will ensure that the parameter name (prefix) is not part of the validation error keys.
Inheritance
System.Object
System.Attribute
Microsoft.AspNetCore.Mvc.TypeFilterAttribute
Namespace: Umbraco.Cms.Web.BackOffice.Filters
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class PrefixlessBodyModelValidatorAttribute : TypeFilterAttribute, IFilterFactory, IOrderedFilter, IFilterMetadata
Constructors
View SourcePrefixlessBodyModelValidatorAttribute()
Declaration
public PrefixlessBodyModelValidatorAttribute()