[CSHARP-387] Add support for ISupportInitialize to BsonClassMapSerializer Created: 06/Feb/12  Updated: 02/Apr/15  Resolved: 06/Feb/12

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.3.1
Fix Version/s: 1.4

Type: New Feature 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 should check if the object being deserialized implements the ISupportInitialize interface, and if so call BeginInit before starting to deserialize the object and call EndInit after it is done deserializing the object.



 Comments   
Comment by Robert Stam [ 06/Feb/12 ]

Thanks to Craig Wilson for the pull request with the implementation.

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