ToBsonValue() private method

private ToBsonValue ( ) : BsonValue
return BsonValue
コード例 #1
0
 /// <summary>
 /// Sets the output option (see MapReduceOutput).
 /// </summary>
 /// <param name="output">The output option.</param>
 /// <returns>The builder (so method calls can be chained).</returns>
 public MapReduceOptionsBuilder SetOutput(
     MapReduceOutput output
     )
 {
     document["out"] = output.ToBsonValue();
     return(this);
 }
コード例 #2
0
 /// <summary>
 /// Sets the output option (see MapReduceOutput).
 /// </summary>
 /// <param name="output">The output option.</param>
 /// <returns>The builder (so method calls can be chained).</returns>
 public MapReduceOptionsBuilder SetOutput(MapReduceOutput output)
 {
     _document["out"] = output.ToBsonValue();
     return this;
 }