Table of Contents

Class CameraContributor

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

Represents a contributor that participates in entity mapping operations related to camera entities.

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

Remarks

Implements the IEntityMapContributor interface to provide camera-specific mapping behavior within the entity mapping pipeline.

Methods

RegisterMaps()

Registers BSON class maps for the Camera and Stream types with MongoDB, applying custom mapping conventions such as element name overrides, default values, and ignore-if-null behavior. Registration is performed only once; the method guards against duplicate registration by checking IsClassMapRegistered(Type) before registering.

public void RegisterMaps()