Documentation modifications
This commit is contained in:
@@ -15,6 +15,10 @@ namespace adas_core.Infrastructure.Utils.MongoMaps;
|
||||
/// </summary>
|
||||
public class BoxConfigMapContributor : IEntityMapContributor
|
||||
{
|
||||
/// <summary>
|
||||
/// Registers the BSON class maps used to control how <see cref="Box"/> and <see cref="Sensor"/> instances are serialized to and from MongoDB. Each registration is only performed when no class map is already registered for the target type, and the mappings exclude properties that should not be persisted, rename persisted members where needed, apply <see cref="DictionaryBsonConverter"/> to the <c>Configuration</c> member of <see cref="Box"/>, and configure null/default-value handling for <see cref="Sensor"/> members.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=d4dea7a body=eb04ab5 -->
|
||||
public void RegisterMaps()
|
||||
{
|
||||
if (!BsonClassMap.IsClassMapRegistered(typeof(Box)))
|
||||
|
||||
Reference in New Issue
Block a user