public void Add(string name, BsonBinaryData value)
 {
     _elements.Add(BsonElement.Create(this, name, value));
 }
 public BsonDocument(string name, BsonBinaryData value)
     : this()
 {
     Add(name, value);
 }
Exemple #3
0
 public static BsonElement Create(BsonDocument parent, string name, BsonBinaryData value)
 {
     return(new BsonElement(parent, BsonElementType.BinaryData, name, value));
 }