Search Results for

    Show / Hide Table of Contents
    View Source

    Class MapDefinitionCollectionBuilder

    Builds the MapDefinitionCollection by allowing registration of IMapDefinition instances.

    Inheritance
    object
    CollectionBuilderBase<MapDefinitionCollectionBuilder, MapDefinitionCollection, IMapDefinition>
    SetCollectionBuilderBase<MapDefinitionCollectionBuilder, MapDefinitionCollection, IMapDefinition>
    Namespace: Umbraco.Cms.Core.Mapping
    Assembly: Umbraco.Core.dll
    Syntax
    public class MapDefinitionCollectionBuilder : SetCollectionBuilderBase<MapDefinitionCollectionBuilder, MapDefinitionCollection, IMapDefinition>, ICollectionBuilder<MapDefinitionCollection, IMapDefinition>, ICollectionBuilder
    Remarks

    Use this builder to register custom map definitions that define how objects are mapped from one type to another.

    Constructors

    View Source

    MapDefinitionCollectionBuilder()

    Declaration
    public MapDefinitionCollectionBuilder()

    Properties

    View Source

    CollectionLifetime

    Gets the collection lifetime.

    Declaration
    protected override ServiceLifetime CollectionLifetime { get; }
    Property Value
    Type Description
    ServiceLifetime
    View Source

    This

    Gets the current builder instance.

    Declaration
    protected override MapDefinitionCollectionBuilder This { get; }
    Property Value
    Type Description
    MapDefinitionCollectionBuilder
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX