ExpressionFormatter Class | 
Namespace: MongoDB.Driver.Linq
The ExpressionFormatter type exposes the following members.
| Name | Description | |
|---|---|---|
| ExpressionFormatter | 
            Initializes a new instance of the ExpressionFormatter class.
              | 
| Name | Description | |
|---|---|---|
| ToBson | 
            Serializes an object to a BSON byte array.
              (Defined by BsonExtensionMethods.) | |
| ToBsonDocument | 
            Serializes an object to a BsonDocument.
              (Defined by BsonExtensionMethods.) | |
| ToJson | 
            Serializes an object to a JSON string.
              (Defined by BsonExtensionMethods.) |