Class MapDefinitionCollectionBuilder
Builds the MapDefinitionCollection by allowing registration of IMapDefinition instances.
Inheritance
object
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 SourceMapDefinitionCollectionBuilder()
Declaration
public MapDefinitionCollectionBuilder()
Properties
View SourceCollectionLifetime
Gets the collection lifetime.
Declaration
protected override ServiceLifetime CollectionLifetime { get; }
Property Value
| Type | Description |
|---|---|
| ServiceLifetime |
This
Gets the current builder instance.
Declaration
protected override MapDefinitionCollectionBuilder This { get; }
Property Value
| Type | Description |
|---|---|
| MapDefinitionCollectionBuilder |