Class FormMapContributor
- Namespace
- adas_core.Infrastructure.Utils.MongoMaps
- Assembly
- adas-core.Infrastructure.dll
Represents a contributor responsible for providing form-related mapping logic for entities. Implements the IEntityMapContributor interface to participate in the entity mapping process.
public class FormMapContributor : IEntityMapContributor
- Inheritance
-
FormMapContributor
- Implements
- Inherited Members
- Extension Methods
Methods
RegisterMaps()
Registers BSON class maps for FormConfig and FormItemOverview types used during MongoDB serialization, configuring default values and conditional serialization rules for their members. Each class map is only registered if it has not already been registered, preventing duplicate registrations.
public void RegisterMaps()