Table of Contents

Class BannerConfigMapContributor

Namespace
adas_core.Infrastructure.Utils.MongoMaps
Assembly
adas-core.Infrastructure.dll

Provides mapping contributions for the BannerConfig entity by implementing the IEntityMapContributor contract.

public class BannerConfigMapContributor : IEntityMapContributor
Inheritance
BannerConfigMapContributor
Implements
Inherited Members
Extension Methods

Remarks

Used as a contributor that participates in entity map configuration for banner-related data.

Methods

RegisterMaps()

Registers BSON class maps for banner-related configuration types, including BannerItem, BannerItemConfig, BannerItemTableConfig, and HeaderBannerItemTableConfig. Each map is only registered when no existing registration is found, and applies custom serialization (enum values stored as strings), null-ignoring behavior for optional members, and default values where appropriate.

public void RegisterMaps()