C# Class MongoDB.Bson.LazyBsonDocument

Inheritance: BsonDocument, IDisposable
Afficher le fichier Open project: egametang/Egametang Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : BsonValue

Creates a shallow clone of the document (see also DeepClone).

DeepClone ( ) : BsonValue

Creates a deep clone of the document (see also Clone).

LazyBsonDocument ( IByteBuffer slice ) : System

Initializes a new instance of the LazyBsonDocument class.

LazyBsonDocument ( byte bytes ) : System

Initializes a new instance of the LazyBsonDocument class.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Materialize ( ) : IEnumerable

Materializes the BsonDocument.

MaterializeCompleted ( ) : void

Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state.

Private Methods

Méthode Description
CloneSlice ( ) : IByteBuffer
DeserializeLazyBsonArray ( MongoDB.Bson.IO.BsonBinaryReader bsonReader ) : LazyBsonArray
DeserializeLazyBsonDocument ( MongoDB.Bson.IO.BsonBinaryReader bsonReader ) : LazyBsonDocument
MaterializeThisLevel ( ) : IEnumerable

Method Details

Clone() public méthode

Creates a shallow clone of the document (see also DeepClone).
public Clone ( ) : BsonValue
Résultat BsonValue

DeepClone() public méthode

Creates a deep clone of the document (see also Clone).
public DeepClone ( ) : BsonValue
Résultat BsonValue

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

LazyBsonDocument() public méthode

Initializes a new instance of the LazyBsonDocument class.
slice LazyBsonDocument cannot be used with an IByteBuffer that needs disposing.
public LazyBsonDocument ( IByteBuffer slice ) : System
slice IByteBuffer The slice.
Résultat System

LazyBsonDocument() public méthode

Initializes a new instance of the LazyBsonDocument class.
public LazyBsonDocument ( byte bytes ) : System
bytes byte The bytes.
Résultat System

Materialize() protected méthode

Materializes the BsonDocument.
protected Materialize ( ) : IEnumerable
Résultat IEnumerable

MaterializeCompleted() protected méthode

Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state.
protected MaterializeCompleted ( ) : void
Résultat void