-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.5
-
Component/s: None
-
None
Add a new BsonSerializer attribute that can be used at either the class or the property/field level to specify a serializer.
For example:
[BsonSerializer(typeof(CSerializer))] public class C { .... } public class D { .... [BsonSerializer(typeof(TSerializer))] public T X { get; set; } }
- is depended on by
-
CSHARP-517 MongoServer static constructor is not the best place to register serializers
- Closed