[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: |