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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 1.2
    • Affects Version/s: 1.1
    • Component/s: None
    • None
    • Environment:
      Windows PowerShell (for sure), C# (maybe)
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

                Created:
                Updated:
                Resolved: