Search Results for

    Show / Hide Table of Contents
    View Source

    Class CommonMapper

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models.Mapping
    Assembly: Umbraco.Core.dll
    Syntax
    public class CommonMapper

    Constructors

    View Source

    CommonMapper(IUserService, IContentTypeBaseServiceProvider, ContentAppFactoryCollection, ILocalizedTextService)

    Declaration
    public CommonMapper(IUserService userService, IContentTypeBaseServiceProvider contentTypeBaseServiceProvider, ContentAppFactoryCollection contentAppDefinitions, ILocalizedTextService localizedTextService)
    Parameters
    Type Name Description
    IUserService userService
    IContentTypeBaseServiceProvider contentTypeBaseServiceProvider
    ContentAppFactoryCollection contentAppDefinitions
    ILocalizedTextService localizedTextService

    Methods

    View Source

    GetContentApps(IUmbracoEntity)

    Declaration
    public IEnumerable<ContentApp> GetContentApps(IUmbracoEntity source)
    Parameters
    Type Name Description
    IUmbracoEntity source
    Returns
    Type Description
    IEnumerable<ContentApp>
    View Source

    GetContentAppsForEntity(IEntity)

    Declaration
    public IEnumerable<ContentApp> GetContentAppsForEntity(IEntity source)
    Parameters
    Type Name Description
    IEntity source
    Returns
    Type Description
    IEnumerable<ContentApp>
    View Source

    GetContentType(IContentBase, MapperContext)

    Declaration
    public ContentTypeBasic GetContentType(IContentBase source, MapperContext context)
    Parameters
    Type Name Description
    IContentBase source
    MapperContext context
    Returns
    Type Description
    ContentTypeBasic
    View Source

    GetCreator(IContent, MapperContext)

    Declaration
    public UserProfile GetCreator(IContent source, MapperContext context)
    Parameters
    Type Name Description
    IContent source
    MapperContext context
    Returns
    Type Description
    UserProfile
    View Source

    GetOwner(IContentBase, MapperContext)

    Declaration
    public UserProfile GetOwner(IContentBase source, MapperContext context)
    Parameters
    Type Name Description
    IContentBase source
    MapperContext context
    Returns
    Type Description
    UserProfile
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • CommonMapper(IUserService, IContentTypeBaseServiceProvider, ContentAppFactoryCollection, ILocalizedTextService)
    • Methods
      • GetContentApps(IUmbracoEntity)
      • GetContentAppsForEntity(IEntity)
      • GetContentType(IContentBase, MapperContext)
      • GetCreator(IContent, MapperContext)
      • GetOwner(IContentBase, MapperContext)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX