C# Class MongoDB.Driver.Builders.DeprecatedQueryBuilder

Inheritance: BuilderBase
Exibir arquivo Open project: CloudMetal/mongo-csharp-driver

Public Methods

Method Description
ToBsonDocument ( ) : BsonDocument

Returns the result of the builder as a BsonDocument.

Protected Methods

Method Description
DeprecatedQueryBuilder ( BsonDocument document ) : System

Initializes a new instance of the QueryBuilder class.

Serialize ( BsonWriter bsonWriter, Type nominalType, IBsonSerializationOptions options ) : void

Serializes the result of the builder to a BsonWriter.

Method Details

DeprecatedQueryBuilder() protected method

Initializes a new instance of the QueryBuilder class.
protected DeprecatedQueryBuilder ( BsonDocument document ) : System
document BsonDocument A document representing the query.
return System

Serialize() protected method

Serializes the result of the builder to a BsonWriter.
protected Serialize ( BsonWriter bsonWriter, Type nominalType, IBsonSerializationOptions options ) : void
bsonWriter BsonWriter The writer.
nominalType System.Type The nominal type.
options IBsonSerializationOptions The serialization options.
return void

ToBsonDocument() public method

Returns the result of the builder as a BsonDocument.
public ToBsonDocument ( ) : BsonDocument
return BsonDocument