WrappingBsonWriter Class |
Namespace: MongoDB.Bson.IO
The WrappingBsonWriter type exposes the following members.
Name | Description | |
---|---|---|
WrappingBsonWriter |
Initializes a new instance of the WrappingBsonWriter class.
|
Name | Description | |
---|---|---|
Position |
Gets the position.
Not all writers are able to report the position. Those that can't simply return zero.
| |
SerializationDepth |
Gets the current serialization depth.
| |
Settings |
Gets the settings of the writer.
| |
State |
Gets the current state of the writer.
| |
Wrapped |
Gets the wrapped writer.
|
Name | Description | |
---|---|---|
Close |
Closes the writer.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Flush |
Flushes any pending data to the output destination.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PopElementNameValidator |
Pops the element name validator.
| |
PopSettings |
Pops the settings.
| |
PushElementNameValidator |
Pushes the element name validator.
| |
PushSettings |
Pushes new settings for the writer.
| |
ThrowIfDisposed |
Throws if disposed.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteBinaryData |
Writes BSON binary data to the writer.
| |
WriteBoolean |
Writes a BSON Boolean to the writer.
| |
WriteBytes |
Writes BSON binary data to the writer.
| |
WriteDateTime |
Writes a BSON DateTime to the writer.
| |
WriteDecimal128 |
Writes a BSON Decimal128 to the writer.
| |
WriteDouble |
Writes a BSON Double to the writer.
| |
WriteEndArray |
Writes the end of a BSON array to the writer.
| |
WriteEndDocument |
Writes the end of a BSON document to the writer.
| |
WriteInt32 |
Writes a BSON Int32 to the writer.
| |
WriteInt64 |
Writes a BSON Int64 to the writer.
| |
WriteJavaScript |
Writes a BSON JavaScript to the writer.
| |
WriteJavaScriptWithScope |
Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope).
| |
WriteMaxKey |
Writes a BSON MaxKey to the writer.
| |
WriteMinKey |
Writes a BSON MinKey to the writer.
| |
WriteName |
Writes the name of an element to the writer.
| |
WriteNull |
Writes a BSON null to the writer.
| |
WriteObjectId |
Writes a BSON ObjectId to the writer.
| |
WriteRawBsonArray |
Writes a raw BSON array.
| |
WriteRawBsonDocument |
Writes a raw BSON document.
| |
WriteRegularExpression |
Writes a BSON regular expression to the writer.
| |
WriteStartArray |
Writes the start of a BSON array to the writer.
| |
WriteStartDocument |
Writes the start of a BSON document to the writer.
| |
WriteString |
Writes a BSON String to the writer.
| |
WriteSymbol |
Writes a BSON Symbol to the writer.
| |
WriteTimestamp |
Writes a BSON timestamp to the writer.
| |
WriteUndefined |
Writes a BSON undefined to the writer.
|
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.) | |
WriteBinaryData |
Writes a BSON binary data element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteBoolean |
Writes a BSON Boolean element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteBytes |
Writes a BSON binary data element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteDateTime |
Writes a BSON DateTime element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteDecimal128 |
Writes a BSON Decimal128 element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteDouble |
Writes a BSON Double element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteInt32 |
Writes a BSON Int32 element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteInt64 |
Writes a BSON Int64 element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteJavaScript |
Writes a BSON JavaScript element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteJavaScriptWithScope |
Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope).
(Defined by IBsonWriterExtensions.) | |
WriteMaxKey |
Writes a BSON MaxKey element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteMinKey |
Writes a BSON MinKey element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteNull |
Writes a BSON null element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteObjectId |
Writes a BSON ObjectId element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteRawBsonArray |
Writes a raw BSON array.
(Defined by IBsonWriterExtensions.) | |
WriteRawBsonDocument |
Writes a raw BSON document.
(Defined by IBsonWriterExtensions.) | |
WriteRegularExpression |
Writes a BSON regular expression element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteStartArray |
Writes the start of a BSON array element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteStartDocument |
Writes the start of a BSON document element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteString |
Writes a BSON String element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteSymbol |
Writes a BSON Symbol element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteTimestamp |
Writes a BSON timestamp element to the writer.
(Defined by IBsonWriterExtensions.) | |
WriteUndefined |
Writes a BSON undefined element to the writer.
(Defined by IBsonWriterExtensions.) |