Class HeaderMapContributor
- Namespace
- adas_core.Infrastructure.Utils.MongoMaps
- Assembly
- adas-core.Infrastructure.dll
Represents a contributor that participates in entity mapping, providing header-related mapping logic.
public class HeaderMapContributor : IEntityMapContributor
- Inheritance
-
HeaderMapContributor
- Implements
- Inherited Members
- Extension Methods
Remarks
Implements the IEntityMapContributor interface to contribute mapping behavior within the entity mapping pipeline.
Methods
RegisterMaps()
Registers BSON class maps for the HeaderConfig type and its nested HeaderConfig.HeaderItem type with the MongoDB BsonClassMap serializer, configuring default values and null-ignore behavior for their members. Registration is performed only if a class map for the corresponding type has not already been registered, preventing duplicate registrations.
public void RegisterMaps()