C# Class CSMongo.Bson.BsonOrderedDocument

A document that reorders values based on size
Inheritance: BsonDocument
Show file Open project: hugoware/CSMongo

Public Methods

Method Description
BsonOrderedDocument ( ) : System

Creates a new empty BSON document

BsonOrderedDocument ( object source ) : System

Creates a new BSON document based on the source provided

operator ( ) : BsonOrderedDocument

Merges another object with this object - Same as calling Merge

Protected Methods

Method Description
OnBeforeFinishBsonRender ( IEnumerable fields ) : IEnumerable

Reorders the bytes into the same order as their length

Method Details

BsonOrderedDocument() public method

Creates a new empty BSON document
public BsonOrderedDocument ( ) : System
return System

BsonOrderedDocument() public method

Creates a new BSON document based on the source provided
public BsonOrderedDocument ( object source ) : System
source object
return System

OnBeforeFinishBsonRender() protected method

Reorders the bytes into the same order as their length
protected OnBeforeFinishBsonRender ( IEnumerable fields ) : IEnumerable
fields IEnumerable
return IEnumerable

operator() public static method

Merges another object with this object - Same as calling Merge
public static operator ( ) : BsonOrderedDocument
return BsonOrderedDocument