Search Results for

    Show / Hide Table of Contents
    View Source

    Class MediaTypeModelValidator

    Used to validate the aliases for the content type when MB is enabled to ensure that no illegal aliases are used

    Inheritance
    System.Object
    ContentTypeModelValidatorBase<MediaTypeSave, PropertyTypeBasic>
    Namespace: Umbraco.Cms.Web.BackOffice.ModelsBuilder
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public class MediaTypeModelValidator : ContentTypeModelValidatorBase<MediaTypeSave, PropertyTypeBasic>

    Constructors

    View Source

    MediaTypeModelValidator(IOptions<ModelsBuilderSettings>)

    Declaration
    public MediaTypeModelValidator(IOptions<ModelsBuilderSettings> config)
    Parameters
    Type Name Description
    Microsoft.Extensions.Options.IOptions<ModelsBuilderSettings> config
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MediaTypeModelValidator(IOptions<ModelsBuilderSettings>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX