# Class ColorConfigMapContributor

Namespace
  adas_core.Infrastructure.Utils.MongoMaps

Assembly
  adas-core.Infrastructure.dll

Represents a contributor that supplies color configuration mappings for entities by implementing the IEntityMapContributor interface.

    public class ColorConfigMapContributor : IEntityMapContributor

Inheritance
  object
  ColorConfigMapContributor

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

Used as a pluggable component within the entity mapping pipeline to apply color-related configuration to mapped entities.

## Methods

### RegisterMaps()

Registers BSON class maps for the ColorConfig type and its nested configuration types, providing default color and appearance values for properties such as levels, text, arrows, indicators, graphs, status boxes, therapy, tests, and procedures. Each class map is registered only if it has not already been registered, ensuring idempotent initialization of the MongoDB serialization mappings used by the color configuration system.

    public void RegisterMaps()