Class AlarmMapContributor
- Namespace
- adas_core.Infrastructure.Utils.MongoMaps
- Assembly
- adas-core.Infrastructure.dll
Represents a contributor that provides entity mapping configuration for Alarm entities.
public class AlarmMapContributor : IEntityMapContributor
- Inheritance
-
AlarmMapContributor
- Implements
- Inherited Members
- Extension Methods
Remarks
Implements the IEntityMapContributor interface to participate in the entity mapping process.
Methods
RegisterMaps()
Registers BSON class maps for alarm-related domain types (including alarm configuration, audio, alarm items, patient observation alarms, inactivation states, sources, recording alerts, and performance), configuring enum serialization as strings, null-ignore behavior for optional members, default values where applicable, and unmapping members that should not be persisted. Registration is performed only when a class map for the type is not already registered, ensuring idempotent behavior.
public void RegisterMaps()