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

IDocumentFactory

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: SAMUS
    • Labels:
      None

      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).

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

              Created:
              Updated:
              Resolved: