# Class ObservationMapContributor

Namespace
  adas_core.Infrastructure.Utils.MongoMaps

Assembly
  adas-core.Infrastructure.dll

Represents a contributor that provides entity mapping logic for observations.

    public class ObservationMapContributor : IEntityMapContributor

Inheritance
  object
  ObservationMapContributor

Implements
  IEntityMapContributor

Inherited Members
  object.Equals(object)
  object.Equals(object, object)
  object.GetHashCode()
  object.GetType()
  object.MemberwiseClone()
  object.ReferenceEquals(object, object)
  object.ToString()

Extension Methods
  NumberUtils.IsNumber(object)
  NumberUtils.ToDouble(object)
  ObjectUtils.ToStr(object?)

## Remarks

Implements the IEntityMapContributor interface to participate in the entity mapping process.

## Methods

### RegisterMaps()

Registers BSON class maps for the observation-related domain types used by the application. Each registration is guarded by an IsClassMapRegistered(Type) check so the method is safe to invoke multiple times, configuring element names, ignoring null members, unmapping non-persisted members, and supplying custom enum and complex-object serializers where required.

    public void RegisterMaps()