C# Class MongoDB.Bson.LazyBsonArray

Inheritance: BsonArray, IDisposable
Mostra file Open project: egametang/Egametang Class Usage Examples

Public Methods

Method Description
Clone ( ) : BsonValue

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

DeepClone ( ) : BsonValue

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

LazyBsonArray ( IByteBuffer slice ) : System

Initializes a new instance of the LazyBsonArray class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Materialize ( ) : IEnumerable

Materializes the BsonArray.

MaterializeCompleted ( ) : void

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

Private Methods

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

Method Details

Clone() public method

Creates a shallow clone of the array (see also DeepClone).
public Clone ( ) : BsonValue
return BsonValue

DeepClone() public method

Creates a deep clone of the array (see also Clone).
public DeepClone ( ) : BsonValue
return BsonValue

Dispose() protected method

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.
return void

LazyBsonArray() public method

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

Materialize() protected method

Materializes the BsonArray.
protected Materialize ( ) : IEnumerable
return IEnumerable

MaterializeCompleted() protected method

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