Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-38

IDocumentFactory

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • SAMUS
    • None

    Description

      Since the inclusion of IComparer<string> in Document allows you to push in a specific type of comparer, we needed a way to inject that into documents as they are created on the way out. I introduced an interface IDocumentFactory that you can optionally pass to the Mongo object that will allow for this. Leaving it out causes the default behavior to continue (no comparer).

      Attachments

        Activity

          People

            sam Sam Corder
            davidmohara David O'Hara
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: