Add a BsonSerializer attribute that can be attached to either a class or a property/field to specify which serializer to use

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 1.6
    • Affects Version/s: 1.5
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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; }
      }
      

              Assignee:
              Robert Stam
              Reporter:
              Robert Stam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: