Add TryParse method to WriteConcern class

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Minor - P4
    • None
    • Affects Version/s: 1.8.2
    • Component/s: None
    • None
    • Environment:
      windows/.net
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Can you add a TryParse method to WriteConcern class so a string can be converted to a matching WriteConcern value? (Similar to Enum.TryParse) This will help when db settings are stored elsewhere and we have to convert in code (ex. values coming from a xml file).

            Assignee:
            Unassigned
            Reporter:
            Rasitha Wijesinghe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: