Table of Contents

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
GraphMapContributor
Implements
Inherited Members
Extension Methods

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()