Details
-
New Feature
-
Resolution: Done
-
Major - P3
-
1.5
-
None
-
None
Description
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; }
|
}
|
Attachments
Issue Links
- is depended on by
-
CSHARP-517 MongoServer static constructor is not the best place to register serializers
-
- Closed
-