C# Class MongoDB.Driver.Builders.BuilderBase

Inheritance: IBsonSerializable, IConvertibleToBsonDocument
Afficher le fichier Open project: CloudMetal/mongo-csharp-driver

Méthodes publiques

Méthode Description
ToBsonDocument ( ) : BsonDocument

Returns the result of the builder as a BsonDocument.

ToString ( ) : string

Returns a string representation of the settings.

Méthodes protégées

Méthode 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

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

Method Details

BuilderBase() protected méthode

Initializes a new instance of the BuilderBase class.
protected BuilderBase ( ) : System
Résultat System

IBsonSerializable() protected méthode

protected IBsonSerializable ( BsonWriter bsonWriter, Type nominalType, IBsonSerializationOptions options ) : void
bsonWriter BsonWriter
nominalType System.Type
options IBsonSerializationOptions
Résultat void

IBsonSerializable() protected méthode

protected IBsonSerializable ( object id ) : void
id object
Résultat void

Serialize() protected abstract méthode

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.
Résultat void

ToBsonDocument() public abstract méthode

Returns the result of the builder as a BsonDocument.
public abstract ToBsonDocument ( ) : BsonDocument
Résultat BsonDocument

ToString() public méthode

Returns a string representation of the settings.
public ToString ( ) : string
Résultat string