Search Results for

    Show / Hide Table of Contents
    View Source

    Class MapperCollection

    Inheritance
    System.Object
    BuilderCollectionBase<BaseMapper>
    Namespace: Umbraco.Cms.Infrastructure.Persistence.Mappers
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class MapperCollection : BuilderCollectionBase<BaseMapper>, IMapperCollection, IBuilderCollection<BaseMapper>

    Constructors

    View Source

    MapperCollection(Func<IEnumerable<BaseMapper>>)

    Declaration
    public MapperCollection(Func<IEnumerable<BaseMapper>> items)
    Parameters
    Type Name Description
    Func<IEnumerable<BaseMapper>> items

    Properties

    View Source

    Item[Type]

    Returns a mapper for this type, throw an exception if not found

    Declaration
    public BaseMapper this[Type type] { get; }
    Parameters
    Type Name Description
    Type type
    Property Value
    Type Description
    BaseMapper

    Methods

    View Source

    TryGetMapper(Type, out BaseMapper)

    Declaration
    public bool TryGetMapper(Type type, out BaseMapper mapper)
    Parameters
    Type Name Description
    Type type
    BaseMapper mapper
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MapperCollection(Func<IEnumerable<BaseMapper>>)
    • Properties
      • Item[Type]
    • Methods
      • TryGetMapper(Type, out BaseMapper)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX