C# Class MongoDB.Driver.Builders.BuilderBase

Inheritance: IBsonSerializable, IConvertibleToBsonDocument
Exibir arquivo Open project: CloudMetal/mongo-csharp-driver

Public Methods

Method Description
ToBsonDocument ( ) : BsonDocument

Returns the result of the builder as a BsonDocument.

ToString ( ) : string

Returns a string representation of the settings.

Protected Methods

Method Description
BuilderBase ( ) : System

Initializes a new instance of the BuilderBase class.

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

Serializes the result of the builder to a BsonWriter.

Private Methods

Method Description
IBsonSerializable ( object &id, Type &idNominalType, IIdGenerator &idGenerator ) : bool
IBsonSerializable ( BsonReader bsonReader, Type nominalType, IBsonSerializationOptions options ) : object
IConvertibleToBsonDocument ( ) : BsonDocument

Method Details

BuilderBase() protected method

Initializes a new instance of the BuilderBase class.
protected BuilderBase ( ) : System
return System

IBsonSerializable() protected method

protected IBsonSerializable ( BsonWriter bsonWriter, Type nominalType, IBsonSerializationOptions options ) : void
bsonWriter BsonWriter
nominalType System.Type
options IBsonSerializationOptions
return void

IBsonSerializable() protected method

protected IBsonSerializable ( object id ) : void
id object
return void

Serialize() protected abstract method

Serializes the result of the builder to a BsonWriter.
protected abstract 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 abstract method

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

ToString() public method

Returns a string representation of the settings.
public ToString ( ) : string
return string