Class SectionMapContributor
- Namespace
- adas_core.Infrastructure.Utils.MongoMaps
- Assembly
- adas-core.Infrastructure.dll
Represents a contributor that participates in section-based entity mapping by implementing the IEntityMapContributor interface.
public class SectionMapContributor : IEntityMapContributor
- Inheritance
-
SectionMapContributor
- Implements
- Inherited Members
- Extension Methods
Methods
RegisterMaps()
Registers the BSON class maps for the Section, Section.SectionItem, SectionConfig, and MinimalDisplaySection types, configuring their MongoDB serialization behavior such as required fields, default values, null-ignoring members, and custom serializers. Each class map is registered only if it has not already been registered, preventing duplicate registrations.
public void RegisterMaps()