public BSONDocument SetArray(string key, BSONArray val)
 {
     return(SetBSONValue(new BSONValue(BSONType.ARRAY, key, val)));
 }
Example #2
0
 public BSONDocument SetArray(int idx, BSONArray val)
 {
     return base.SetArray(idx.ToString(), val);
 }
Example #3
0
 public BSONDocument SetArray(int idx, BSONArray val)
 {
     return(base.SetArray(idx.ToString(), val));
 }
Example #4
0
 public BSONArray(BSONArray[] arr)
 {
     for (var i = 0; i < arr.Length; ++i) {
         SetArray(i, arr[i]);
     }
 }