Class MediaTypeModelValidator
Used to validate the aliases for the content type when MB is enabled to ensure that no illegal aliases are used
Namespace: Umbraco.Cms.Web.BackOffice.ModelsBuilder
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class MediaTypeModelValidator : ContentTypeModelValidatorBase<MediaTypeSave, PropertyTypeBasic>
Constructors
View SourceMediaTypeModelValidator(IOptions<ModelsBuilderSettings>)
Declaration
public MediaTypeModelValidator(IOptions<ModelsBuilderSettings> config)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Options.IOptions<ModelsBuilderSettings> | config |