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

BsonArray should have constructor/methods dealing with not-generic IEnumerable

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.2
    • 1.1
    • None
    • None
    • Windows PowerShell (for sure), C# (maybe)
    • Minor Change

    Description

      Lack of such a constructor and methods makes it difficult to create a BsonArray or add a range of values to an existing instance in PowerShell scripts. PowerShell V1, V2 does not support generics well.

      Perhaps, even in C# (at least before 4.0), with only System.Collection.IEnumerable at hand there may be similar difficulties. But I did not try that.

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            nightroman Roman Kuzmin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: