Search Results for

    Show / Hide Table of Contents
    View Source

    Class ContentTypeServiceExtensions

    Inheritance
    System.Object
    Namespace: Umbraco.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public static class ContentTypeServiceExtensions

    Methods

    View Source

    GetAllElementTypes(IContentTypeService)

    Gets all of the element types (e.g. content types that have been marked as an element type).

    Declaration
    public static IEnumerable<IContentType> GetAllElementTypes(this IContentTypeService contentTypeService)
    Parameters
    Type Name Description
    IContentTypeService contentTypeService

    The content type service.

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IContentType>

    Returns all the element types.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetAllElementTypes(IContentTypeService)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX