C# Класс MongoDB.Bson.LazyBsonDocument

Наследование: BsonDocument, IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
CloneSlice ( ) : IByteBuffer
DeserializeLazyBsonArray ( MongoDB.Bson.IO.BsonBinaryReader bsonReader ) : LazyBsonArray
DeserializeLazyBsonDocument ( MongoDB.Bson.IO.BsonBinaryReader bsonReader ) : LazyBsonDocument
MaterializeThisLevel ( ) : IEnumerable

Описание методов

Clone() публичный Метод

Creates a shallow clone of the document (see also DeepClone).
public Clone ( ) : BsonValue
Результат BsonValue

DeepClone() публичный Метод

Creates a deep clone of the document (see also Clone).
public DeepClone ( ) : BsonValue
Результат BsonValue

Dispose() защищенный Метод

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.
Результат void

LazyBsonDocument() публичный Метод

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.
Результат System

LazyBsonDocument() публичный Метод

Initializes a new instance of the LazyBsonDocument class.
public LazyBsonDocument ( byte bytes ) : System
bytes byte The bytes.
Результат System

Materialize() защищенный Метод

Materializes the BsonDocument.
protected Materialize ( ) : IEnumerable
Результат IEnumerable

MaterializeCompleted() защищенный Метод

Informs subclasses that the Materialize process completed so they can free any resources related to the unmaterialized state.
protected MaterializeCompleted ( ) : void
Результат void