WrappingBsonWriter Class (original) (raw)

An abstract base class for an IBsonWriter that wraps another IBsonWriter.

Inheritance Hierarchy

Namespace: MongoDB.Bson.IO
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public abstract class WrappingBsonWriter : IBsonWriter, IDisposable

Public MustInherit Class WrappingBsonWriter Implements IBsonWriter, IDisposable

[] type WrappingBsonWriter =
class interface IBsonWriter interface IDisposable end

The WrappingBsonWriter type exposes the following members.

Constructors

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ----------------------------------------------------------- | | Public method | WrappingBsonWriter | Initializes a new instance of the WrappingBsonWriter class. |

Top

Properties

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | | Public property | Position | Gets the position. Not all writers are able to report the position. Those that can't simply return zero. | | Public property | SerializationDepth | Gets the current serialization depth. | | Public property | Settings | Gets the settings of the writer. | | Public property | State | Gets the current state of the writer. | | Public property | Wrapped | Gets the wrapped writer. |

Top

Methods

Extension Methods

See Also

Reference