Class ServiceConfigMapContributor
- Namespace
- adas_core.Infrastructure.Utils.MongoMaps
- Assembly
- adas-core.Infrastructure.dll
Represents an entity map contributor that provides mapping configuration for service configuration entities.
public class ServiceConfigMapContributor : IEntityMapContributor
- Inheritance
-
ServiceConfigMapContributor
- Implements
- Inherited Members
- Extension Methods
Methods
RegisterMaps()
Registers BSON class maps for service configuration-related types, including ServiceConfig, ServiceConfigService, ServiceConfigServiceSection, ServiceConfigTheme, and ServiceConfigThemeTimetable, configuring their serialization elements, default values, and null-ignoring behavior. Each registration is guarded by a check that ensures the map is only registered if it has not been registered previously.
public void RegisterMaps()