=== 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:
julian
2026-06-28 02:50:05 -07:00
parent a19fb90902
commit 586f02a2ca
654 changed files with 5260 additions and 0 deletions
@@ -11,11 +11,13 @@ namespace adas_core.Infrastructure.Utils.MongoMaps;
/// Provides an entity map contributor that relays or forwards mapping contributions from an underlying source.
/// Implements the <see cref="IEntityMapContributor"/> contract to participate in entity mapping workflows.
/// </summary>
/// <!-- aidoc:v1 sig=f4d7c5f -->
public class RelayContributor : IEntityMapContributor
{
/// <summary>
/// Registers the BSON class map for the <see cref="Relay"/> type, defining how its properties are serialized and stored in MongoDB. The registration is performed only when no class map is already registered for the type, and it configures default values, string-based enum serialization, and null-ignoring behavior for optional members.
/// </summary>
/// <!-- aidoc:v1 sig=d4dea7a body=ef76204 -->
public void RegisterMaps()
{
if (!BsonClassMap.IsClassMapRegistered(typeof(Relay)))