• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class TabsAndPropertiesMapper

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

    Constructors

    View Source

    TabsAndPropertiesMapper(ICultureDictionary, ILocalizedTextService)

    Declaration
    protected TabsAndPropertiesMapper(ICultureDictionary cultureDictionary, ILocalizedTextService localizedTextService)
    Parameters
    Type Name Description
    ICultureDictionary cultureDictionary
    ILocalizedTextService localizedTextService
    View Source

    TabsAndPropertiesMapper(ICultureDictionary, ILocalizedTextService, IEnumerable<String>)

    Declaration
    protected TabsAndPropertiesMapper(ICultureDictionary cultureDictionary, ILocalizedTextService localizedTextService, IEnumerable<string> ignoreProperties)
    Parameters
    Type Name Description
    ICultureDictionary cultureDictionary
    ILocalizedTextService localizedTextService
    IEnumerable<System.String> ignoreProperties

    Properties

    View Source

    CultureDictionary

    Declaration
    protected ICultureDictionary CultureDictionary { get; }
    Property Value
    Type Description
    ICultureDictionary
    View Source

    IgnoreProperties

    Declaration
    protected IEnumerable<string> IgnoreProperties { get; set; }
    Property Value
    Type Description
    IEnumerable<System.String>
    View Source

    LocalizedTextService

    Declaration
    protected ILocalizedTextService LocalizedTextService { get; }
    Property Value
    Type Description
    ILocalizedTextService

    Methods

    View Source

    GetCustomGenericProperties(IContentBase)

    Returns a collection of custom generic properties that exist on the generic properties tab

    Declaration
    protected virtual IEnumerable<ContentPropertyDisplay> GetCustomGenericProperties(IContentBase content)
    Parameters
    Type Name Description
    IContentBase content
    Returns
    Type Description
    IEnumerable<ContentPropertyDisplay>
    View Source

    MapGenericProperties(IContentBase, List<Tab<ContentPropertyDisplay>>, MapperContext)

    Maps properties on to the generic properties tab

    Declaration
    protected virtual void MapGenericProperties(IContentBase content, List<Tab<ContentPropertyDisplay>> tabs, MapperContext context)
    Parameters
    Type Name Description
    IContentBase content
    List<Tab<ContentPropertyDisplay>> tabs
    MapperContext context
    Remarks

    The generic properties tab is responsible for setting up the properties such as Created date, updated date, template selected, etc...

    View Source

    MapProperties(IContentBase, List<IProperty>, MapperContext)

    Maps a list of Property to a list of ContentPropertyDisplay

    Declaration
    protected virtual List<ContentPropertyDisplay> MapProperties(IContentBase content, List<IProperty> properties, MapperContext context)
    Parameters
    Type Name Description
    IContentBase content
    List<IProperty> properties
    MapperContext context
    Returns
    Type Description
    List<ContentPropertyDisplay>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • TabsAndPropertiesMapper(ICultureDictionary, ILocalizedTextService)
      • TabsAndPropertiesMapper(ICultureDictionary, ILocalizedTextService, IEnumerable<String>)
    • Properties
      • CultureDictionary
      • IgnoreProperties
      • LocalizedTextService
    • Methods
      • GetCustomGenericProperties(IContentBase)
      • MapGenericProperties(IContentBase, List<Tab<ContentPropertyDisplay>>, MapperContext)
      • MapProperties(IContentBase, List<IProperty>, MapperContext)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX