=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===
This commit is contained in:
@@ -7,11 +7,13 @@ namespace adas_core.Infrastructure.Utils.MongoMaps;
|
||||
/// <summary>
|
||||
/// Represents an entity map contributor that provides mapping configuration for service configuration entities.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=519c23e -->
|
||||
public class ServiceConfigMapContributor : IEntityMapContributor
|
||||
{
|
||||
/// <summary>
|
||||
/// Registers BSON class maps for service configuration-related types, including <see cref="ServiceConfig"/>, <see cref="ServiceConfigService"/>, <see cref="ServiceConfigServiceSection"/>, <see cref="ServiceConfigTheme"/>, and <see cref="ServiceConfigThemeTimetable"/>, configuring their serialization elements, default values, and null-ignoring behavior. Each registration is guarded by a check that ensures the map is only registered if it has not been registered previously.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=d4dea7a body=1ad65b5 -->
|
||||
public void RegisterMaps()
|
||||
{
|
||||
if (!BsonClassMap.IsClassMapRegistered(typeof(ServiceConfig)))
|
||||
|
||||
Reference in New Issue
Block a user