# Class GraphMapContributor

Namespace
  adas_core.Infrastructure.Utils.MongoMaps

Assembly
  adas-core.Infrastructure.dll

Represents a contributor that provides graph-based mapping logic for entities.

    public class GraphMapContributor : IEntityMapContributor

Inheritance
  object
  GraphMapContributor

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 contract to participate in entity map configuration within a graph structure.

## Methods

### RegisterMaps()

Registers BSON class maps for the application's chart, graph, and legend configuration types, configuring serialization behavior such as default values, null-ignoring, and enum string serialization. Each registration is guarded by an IsClassMapRegistered(Type) check so the method is idempotent and can be safely called multiple times.

    public void RegisterMaps()