Search Results for

    Show / Hide Table of Contents
    View Source

    Class ElementSwitchValidator

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Services.ContentTypeEditing
    Assembly: Umbraco.Core.dll
    Syntax
    public class ElementSwitchValidator : IElementSwitchValidator

    Constructors

    View Source

    ElementSwitchValidator(IContentTypeService, PropertyEditorCollection, IDataTypeService)

    Declaration
    public ElementSwitchValidator(IContentTypeService contentTypeService, PropertyEditorCollection propertyEditorCollection, IDataTypeService dataTypeService)
    Parameters
    Type Name Description
    IContentTypeService contentTypeService
    PropertyEditorCollection propertyEditorCollection
    IDataTypeService dataTypeService

    Methods

    View Source

    AncestorsAreAlignedAsync(IContentType)

    Declaration
    public async Task<bool> AncestorsAreAlignedAsync(IContentType contentType)
    Parameters
    Type Name Description
    IContentType contentType
    Returns
    Type Description
    Task<System.Boolean>
    View Source

    DescendantsAreAlignedAsync(IContentType)

    Declaration
    public async Task<bool> DescendantsAreAlignedAsync(IContentType contentType)
    Parameters
    Type Name Description
    IContentType contentType
    Returns
    Type Description
    Task<System.Boolean>
    View Source

    DocumentToElementHasNoContentAsync(IContentTypeBase)

    Declaration
    public async Task<bool> DocumentToElementHasNoContentAsync(IContentTypeBase contentType)
    Parameters
    Type Name Description
    IContentTypeBase contentType
    Returns
    Type Description
    Task<System.Boolean>
    View Source

    ElementToDocumentNotUsedInBlockStructuresAsync(IContentTypeBase)

    Declaration
    public async Task<bool> ElementToDocumentNotUsedInBlockStructuresAsync(IContentTypeBase contentType)
    Parameters
    Type Name Description
    IContentTypeBase contentType
    Returns
    Type Description
    Task<System.Boolean>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ElementSwitchValidator(IContentTypeService, PropertyEditorCollection, IDataTypeService)
    • Methods
      • AncestorsAreAlignedAsync(IContentType)
      • DescendantsAreAlignedAsync(IContentType)
      • DocumentToElementHasNoContentAsync(IContentTypeBase)
      • ElementToDocumentNotUsedInBlockStructuresAsync(IContentTypeBase)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX