[CSHARP-533] Make BsonClassMapSerializer public again Created: 20/Jul/12  Updated: 20/Mar/14  Resolved: 20/Jul/12

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.5
Fix Version/s: 1.6

Type: Improvement Priority: Minor - P4
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

BsonClassMapSerializer used to be public but was made internal based on the assumption that it should be hidden from the user. But it turns out that there is a legitimate use case for directly instantiating a BsonClassMapSerializer (without registering it). If you want to write a custom serializer that delegates most of the work to a BsonClassMapSerializer but massages an intermediate BsonDocument during serialization/deserialization you need to be able to instantiate a BsonClassMapSerializer directly.



 Comments   
Comment by auto [ 20/Jul/12 ]

Author:

{u'date': u'2012-07-20T08:02:56-07:00', u'email': u'robert@10gen.com', u'name': u'rstam'}

Message: CSHARP-533: Make the BsonClassMapSerializer public again.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/024f1ed868c67bc870c65e89fcdea5b974294362

Generated at Wed Feb 07 21:37:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.