Method | Description | |
---|---|---|
Ascending ( ) : |
Adds keys to be sorted by in ascending order.
|
|
Descending ( ) : |
Adds keys to be sorted by in descending order.
|
|
SortByBuilder ( ) : System |
Initializes a new instance of the SortByBuider class.
|
|
ToBsonDocument ( ) : BsonDocument |
Returns the result of the builder as a BsonDocument.
|
Method | Description | |
---|---|---|
Serialize ( BsonWriter bsonWriter, |
Serializes the result of the builder to a BsonWriter.
|
protected Serialize ( BsonWriter bsonWriter, |
||
bsonWriter | BsonWriter | The writer. |
nominalType | The nominal type. | |
options | IBsonSerializationOptions | The serialization options. |
return | void |