MongoDB.Bson
Represents a serializer for BitArrays.
Represents a base implementation for the many implementations of IBsonSerializer.
An interface implemented by BSON serializers.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The serialization options.
An object.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the default serialization options for this serializer.
The default serialization options for this serializer.
Gets the document Id.
The document.
The Id.
The nominal type of the Id.
The IdGenerator for the Id type.
True if the document has an Id.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Gets the serialization info for a member.
The member name.
The serialization info for the member.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Sets the document Id.
The document.
The Id.
Initializes a new instance of the BsonBaseSerializer class.
Initializes a new instance of the BsonBaseSerializer class.
The default serialization options for this serializer.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The serialization options.
An object.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the default serialization options for this serializer.
The default serialization options for this serializer.
Gets the document Id.
The document.
The Id.
The nominal type of the Id.
The IdGenerator for the Id type.
True if the document has an Id.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Gets the serialization info for a member.
The member name.
The serialization info for the member.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Sets the document Id.
The document.
The Id.
Ensures that the serializer has serialization options of the right type (replacing null with the default serialization options if necessary).
The required serialization options type.
The serialization options.
The serialization options (or the defaults if null) cast to the required type.
Verifies the nominal and actual types against the expected type.
The nominal type.
The actual type.
The expected type.
Gets the default serialization options.
Initializes a new instance of the BitArraySerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BitArraySerializer class.
Represents a serializer for ByteArrays.
Initializes a new instance of the ByteArraySerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the ByteArraySerializer class.
Represents a serializer for Bytes.
Initializes a new instance of the ByteSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the ByteSerializer class.
Represents a serializer for Chars.
Initializes a new instance of the CharSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the CharSerializer class.
Represents a serializer for CultureInfos.
Initializes a new instance of the CultureInfoSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the CultureInfoSerializer class.
Represents a serializer for DateTimeOffsets.
Initializes a new instance of the DateTimeOffsetSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the DateTimeOffsetSerializer class.
Represents a serializer for Decimals.
Initializes a new instance of the DecimalSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the DecimalSerializer class.
Represents a serializer for System.Drawing.Size.
Initializes a new instance of the DrawingSizeSerializer class.
Deserializes an object of type System.Drawing.Size from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object of type System.Drawing.Size to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the DrawingSizeSerializer class.
Represents a serializer for Int16s.
Initializes a new instance of the Int16Serializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the Int16Serializer class.
Represents a serializer for IPAddresses.
Initializes a new instance of the IPAddressSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the IPAddressSerializer class.
Represents a serializer for IPEndPoints.
Initializes a new instance of the IPEndPointSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the IPEndPointSerializer class.
Represents a serializer for SBytes.
Initializes a new instance of the SByteSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the SByteSerializer class.
Represents a serializer for Singles.
Initializes a new instance of the SingleSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the SingleSerializer class.
Represents a serializer for Timespans.
Initializes a new instance of the TimeSpanSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the TimeSpanSerializer class.
Represents a serializer for UInt16s.
Initializes a new instance of the UInt16Serializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the UInt16Serializer class.
Represents a serializer for UInt32s.
Initializes a new instance of the UInt32Serializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the UInt32Serializer class.
Represents a serializer for UInt64s.
Initializes a new instance of the UInt64Serializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the UInt64Serializer class.
Represents a serializer for Uris.
Initializes a new instance of the UriSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the UriSerializer class.
Represents a serializer for Versions.
Initializes a new instance of the VersionSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the VersionSerializer class.
Represents a BSON symbol value.
Represents a BSON value (this is an abstract class, see the various subclasses).
Initializes a new instance of the BsonValue class.
The BsonType of this BsonValue.
Casts a BsonValue to a bool.
The BsonValue.
A bool.
Casts a BsonValue to a bool?.
The BsonValue.
A bool?.
Converts a bool to a BsonValue.
A bool.
A BsonValue.
Converts a bool? to a BsonValue.
A bool?.
A BsonValue.
Converts a byte[] to a BsonValue.
A byte[].
A BsonValue.
Converts a DateTime to a BsonValue.
A DateTime.
A BsonValue.
Converts a DateTime? to a BsonValue.
A DateTime?.
A BsonValue.
Converts a double to a BsonValue.
A double.
A BsonValue.
Converts a double? to a BsonValue.
A double?.
A BsonValue.
Converts an Enum to a BsonValue.
An Enum.
A BsonValue.
Converts a Guid to a BsonValue.
A Guid.
A BsonValue.
Converts a Guid? to a BsonValue.
A Guid?.
A BsonValue.
Converts an int to a BsonValue.
An int.
A BsonValue.
Converts an int? to a BsonValue.
An int?.
A BsonValue.
Converts a long to a BsonValue.
A long.
A BsonValue.
Converts a long? to a BsonValue.
A long?.
A BsonValue.
Converts an ObjectId to a BsonValue.
An ObjectId.
A BsonValue.
Converts an ObjectId? to a BsonValue.
An ObjectId?.
A BsonValue.
Converts a Regex to a BsonValue.
A Regex.
A BsonValue.
Converts a string to a BsonValue.
A string.
A BsonValue.
Casts a BsonValue to a byte[].
The BsonValue.
A byte[].
Casts a BsonValue to a DateTime.
The BsonValue.
A DateTime.
Casts a BsonValue to a DateTime?.
The BsonValue.
A DateTime?.
Casts a BsonValue to a double.
The BsonValue.
A double.
Casts a BsonValue to a double?.
The BsonValue.
A double?.
Casts a BsonValue to a Guid.
The BsonValue.
A Guid.
Casts a BsonValue to a Guid?.
The BsonValue.
A Guid?.
Casts a BsonValue to an int.
The BsonValue.
An int.
Casts a BsonValue to an int?.
The BsonValue.
An int?.
Casts a BsonValue to a long.
The BsonValue.
A long.
Casts a BsonValue to a long?.
The BsonValue.
A long?.
Casts a BsonValue to an ObjectId.
The BsonValue.
An ObjectId.
Casts a BsonValue to an ObjectId?.
The BsonValue.
An ObjectId?.
Casts a BsonValue to a Regex.
The BsonValue.
A Regex.
Casts a BsonValue to a string.
The BsonValue.
A string.
Compares two BsonValues.
The first BsonValue.
The other BsonValue.
True if the first BsonValue is less than the other one.
Compares two BsonValues.
The first BsonValue.
The other BsonValue.
True if the first BsonValue is less than or equal to the other one.
Compares two BsonValues.
The first BsonValue.
The other BsonValue.
True if the two BsonValues are not equal according to ==.
Compares two BsonValues.
The first BsonValue.
The other BsonValue.
True if the two BsonValues are equal according to ==.
Compares two BsonValues.
The first BsonValue.
The other BsonValue.
True if the first BsonValue is greater than the other one.
Compares two BsonValues.
The first BsonValue.
The other BsonValue.
True if the first BsonValue is greater than or equal to the other one.
Creates a new instance of the BsonValue class.
A value to be mapped to a BsonValue.
A BsonValue.
Reads one BsonValue from a BsonReader.
The reader.
A BsonValue.
Creates a shallow clone of the BsonValue (see also DeepClone).
A shallow clone of the BsonValue.
Compares this BsonValue to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonValue is less than, equal to, or greather than the other BsonValue.
Compares the type of this BsonValue to the type of another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether the type of this BsonValue is less than, equal to, or greather than the type of the other BsonValue.
Creates a deep clone of the BsonValue (see also Clone).
A deep clone of the BsonValue.
Compares this BsonValue to another BsonValue.
The other BsonValue.
True if the two BsonValue values are equal.
Compares this BsonValue to another object.
The other object.
True if the other object is a BsonValue and equal to this one.
Gets the hash code.
The hash code.
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
A Boolean.
Converts this BsonValue to a Double.
A Double.
Converts this BsonValue to an Int32.
An Int32.
Converts this BsonValue to an Int64.
An Int64.
Writes the BsonValue to a BsonWriter.
The writer.
Implementation of operator ==.
The other BsonValue.
True if the two BsonValues are equal according to ==.
Casts the BsonValue to a Boolean (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonArray (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonBinaryData (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonDateTime (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonDocument (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonJavaScript (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonJavaScriptWithScope (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonMaxKey (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonMinKey (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonNull (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonRegularExpression (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonSymbol (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonTimestamp (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonUndefined (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a BsonValue (a way of upcasting subclasses of BsonValue to BsonValue at compile time).
Casts the BsonValue to a Byte[] (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Double (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Guid (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to an Int32 (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a DateTime in the local timezone (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Int64 (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Boolean} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{DateTime} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Double} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Guid} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Int32} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{Int64} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Nullable{ObjectId} (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to an ObjectId (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a Regex (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a String (throws an InvalidCastException if the cast is not valid).
Casts the BsonValue to a DateTime in UTC (throws an InvalidCastException if the cast is not valid).
Gets the BsonType of this BsonValue.
Tests whether this BsonValue is a Boolean.
Tests whether this BsonValue is a BsonArray.
Tests whether this BsonValue is a BsonBinaryData.
Tests whether this BsonValue is a BsonDateTime.
Tests whether this BsonValue is a BsonDocument.
Tests whether this BsonValue is a BsonJavaScript.
Tests whether this BsonValue is a BsonJavaScriptWithScope.
Tests whether this BsonValue is a BsonMaxKey.
Tests whether this BsonValue is a BsonMinKey.
Tests whether this BsonValue is a BsonNull.
Tests whether this BsonValue is a BsonRegularExpression.
Tests whether this BsonValue is a BsonSymbol .
Tests whether this BsonValue is a BsonTimestamp.
Tests whether this BsonValue is a BsonUndefined.
Tests whether this BsonValue is a DateTime.
Tests whether this BsonValue is a Double.
Tests whether this BsonValue is a Guid.
Tests whether this BsonValue is an Int32.
Tests whether this BsonValue is an Int64.
Tests whether this BsonValue is a numeric value.
Tests whether this BsonValue is an ObjectId .
Tests whether this BsonValue is a String.
Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value).
Converts a string to a BsonSymbol.
A string.
A BsonSymbol.
Compares two BsonSymbol values.
The first BsonSymbol.
The other BsonSymbol.
True if the two BsonSymbol values are not equal according to ==.
Compares two BsonSymbol values.
The first BsonSymbol.
The other BsonSymbol.
True if the two BsonSymbol values are equal according to ==.
Creates a new BsonSymbol.
An object to be mapped to a BsonSymbol.
A BsonSymbol or null.
Creates a new instance of the BsonSymbol class.
A string.
A BsonSymbol.
Compares this BsonSymbol to another BsonSymbol.
The other BsonSymbol.
A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other.
Compares the BsonSymbol to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonSymbol is less than, equal to, or greather than the other BsonValue.
Compares this BsonSymbol to another BsonSymbol.
The other BsonSymbol.
True if the two BsonSymbol values are equal.
Compares this BsonSymbol to another object.
The other object.
True if the other object is a BsonSymbol and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Gets the name of the symbol.
Represents a BSON array.
Initializes a new instance of the BsonArray class.
Initializes a new instance of the BsonArray class.
A list of values to add to the array.
Initializes a new instance of the BsonArray class.
A list of values to add to the array.
Initializes a new instance of the BsonArray class.
A list of values to add to the array.
Initializes a new instance of the BsonArray class.
A list of values to add to the array.
Initializes a new instance of the BsonArray class.
A list of values to add to the array.
Initializes a new instance of the BsonArray class.
A list of values to add to the array.
Initializes a new instance of the BsonArray class.
A list of values to add to the array.
Initializes a new instance of the BsonArray class.
A list of values to add to the array.
Initializes a new instance of the BsonArray class.
A list of values to add to the array.
Initializes a new instance of the BsonArray class.
The initial capacity of the array.
Compares two BsonArray values.
The first BsonArray.
The other BsonArray.
True if the two BsonArray values are not equal according to ==.
Compares two BsonArray values.
The first BsonArray.
The other BsonArray.
True if the two BsonArray values are equal according to ==.
Creates a new BsonArray.
A list of values to add to the array.
A BsonArray or null.
Creates a new BsonArray.
A list of values to add to the array.
A BsonArray or null.
Creates a new BsonArray.
A list of values to add to the array.
A BsonArray or null.
Creates a new BsonArray.
A list of values to add to the array.
A BsonArray or null.
Creates a new BsonArray.
A list of values to add to the array.
A BsonArray or null.
Creates a new BsonArray.
A list of values to add to the array.
A BsonArray or null.
Creates a new BsonArray.
A list of values to add to the array.
A BsonArray or null.
Creates a new BsonArray.
A list of values to add to the array.
A BsonArray or null.
Creates a new BsonArray.
A list of values to add to the array.
A BsonArray or null.
Creates a new BsonArray.
A value to be mapped to a BsonArray.
A BsonArray or null.
Reads a BsonArray from a BsonReader.
The reader.
A BsonArray.
Adds an element to the array.
The value to add to the array.
The array (so method calls can be chained).
Adds multiple elements to the array.
A list of values to add to the array.
The array (so method calls can be chained).
Adds multiple elements to the array.
A list of values to add to the array.
The array (so method calls can be chained).
Adds multiple elements to the array.
A list of values to add to the array.
The array (so method calls can be chained).
Adds multiple elements to the array.
A list of values to add to the array.
The array (so method calls can be chained).
Adds multiple elements to the array.
A list of values to add to the array.
The array (so method calls can be chained).
Adds multiple elements to the array.
A list of values to add to the array.
The array (so method calls can be chained).
Adds multiple elements to the array.
A list of values to add to the array.
The array (so method calls can be chained).
Adds multiple elements to the array.
A list of values to add to the array.
The array (so method calls can be chained).
Adds multiple elements to the array.
A list of values to add to the array.
The array (so method calls can be chained).
Creates a shallow clone of the array (see also DeepClone).
A shallow clone of the array.
Clears the array.
Compares the array to another array.
The other array.
A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other.
Compares the array to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this array is less than, equal to, or greather than the other BsonValue.
Tests whether the array contains a value.
The value to test for.
True if the array contains the value.
Copies elements from this array to another array.
The other array.
The zero based index of the other array at which to start copying.
Copies elements from this array to another array as raw values (see BsonValue.RawValue).
The other array.
The zero based index of the other array at which to start copying.
Creates a deep clone of the array (see also Clone).
A deep clone of the array.
Compares this array to another array.
The other array.
True if the two arrays are equal.
Compares this BsonArray to another object.
The other object.
True if the other object is a BsonArray and equal to this one.
Gets an enumerator that can enumerate the elements of the array.
An enumerator.
Gets the hash code.
The hash code.
Gets the index of a value in the array.
The value to search for.
The zero based index of the value (or -1 if not found).
Gets the index of a value in the array.
The value to search for.
The zero based index at which to start the search.
The zero based index of the value (or -1 if not found).
Gets the index of a value in the array.
The value to search for.
The zero based index at which to start the search.
The number of elements to search.
The zero based index of the value (or -1 if not found).
Inserts a new value into the array.
The zero based index at which to insert the new value.
The new value.
Removes the first occurrence of a value from the array.
The value to remove.
True if the value was removed.
Removes an element from the array.
The zero based index of the element to remove.
Converts the BsonArray to an array of BsonValues.
An array of BsonValues.
Converts the BsonArray to a list of BsonValues.
A list of BsonValues.
Returns a string representation of the array.
A string representation of the array.
Writes the array to a BsonWriter.
The writer.
Gets or sets the total number of elements the internal data structure can hold without resizing.
Gets the count of array elements.
Gets whether the array is read-only.
Gets the array elements as raw values (see BsonValue.RawValue).
Gets the array elements.
Gets or sets an array element.
The zero based index of the element.
The value of the element.
Indicates that a field or property is required.
Abstract base class for serialization options attributes.
Initializes a new instance of the BsonSerializationOptionsAttribute class.
Represents a serializer for nullable values.
The underlying type.
Initializes a new instance of the NullableSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the default serialization options for this serializer.
The default serialization options for this serializer.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Represents a serializer for Images.
Initializes a new instance of the ImageSerializer class.
Deserializes an Image from a BsonReader.
The BsonReader.
The nominal type of the Image.
The serialization options.
An Image.
Deserializes an Image from a BsonReader.
The BsonReader.
The nominal type of the Image.
The actual type of the Image.
The serialization options.
An Image.
Serializes an Image to a BsonWriter.
The BsonWriter.
The nominal type.
The Image.
The serialization options.
Gets an instance of the ImageSerializer class.
Represents a serializer for Bitmaps.
Initializes a new instance of the BitmapSerializer class.
Deserializes an Bitmap from a BsonReader.
The BsonReader.
The nominal type of the Bitmap.
The actual type of the Bitmap.
The serialization options.
A Bitmap.
Serializes a Bitmap to a BsonWriter.
The BsonWriter.
The nominal type.
The Bitmap.
The serialization options.
Gets an instance of the BitmapSerializer class.
Represents a set of conventions.
Gets the default convention profile.
The default convention profile.
Merges another convention profile into this one (only missing conventions are merged).
The other convention profile.
Sets the default value convention.
A default value convention.
The convention profile.
Sets the element name convention.
An element name convention.
The convention profile.
Sets the extra elements member convention.
An extra elements member convention.
The convention profile.
Sets the Id generator convention.
An Id generator convention.
The convention profile.
Sets the Id member convention.
An Id member convention.
The convention profile.
Sets the ignore extra elements convention.
An ignore extra elements convention.
The convention profile.
Sets the ignore if default convention.
An ignore if default convention.
The convention profile.
Sets the ignore if null convention.
An ignore if null convention.
The convention profile.
Sets the member finder convention.
A member finder convention.
The convention profile.
Sets the serialization options convention.
A serialization options convention.
The convention profile.
Sets the serialize default value convention.
A serialize default value convention.
The convention profile.
Gets the default value convention.
Gets the element name convention.
Gets the extra elements member convention.
Gets the Id generator convention.
Gets the Id member convention.
Gets the ignore extra elements convention.
Gets the ignore if default convention.
Gets the ignore if null convention.
Gets the member finder convention.
Gets the BSON serialization options convention.
Gets the default value convention.
A marker interface that represents serialization options.
Apply an attribute to these serialization options and modify the options accordingly.
The serializer that these serialization options are for.
The serialization options attribute.
Clones the serialization options.
A cloned copy of the serialization options.
Freezes the serialization options.
The frozen serialization options.
Supports using type names as discriminators.
Resolves a type name discriminator.
The type name.
The type if type type name can be resolved; otherwise, null.
Gets a type name to be used as a discriminator (like AssemblyQualifiedName but shortened for common DLLs).
The type.
The type name.
An interface implemented by classes that handle their own BSON serialization.
Deserializes this object from a BsonReader.
The BsonReader.
The nominal type of the object.
The serialization options.
Normally itself, though sometimes an instance of a subclass or null.
Gets the document Id.
The Id.
The nominal type of the Id.
The IdGenerator for the Id type.
True if the document has an Id.
Serializes this object to a BsonWriter.
The BsonWriter.
The nominal type of this object.
The serialization options.
Sets the document Id.
The Id.
Represents a serializer for classes that implement IBsonSerializable.
Initializes a new instance of the BsonIBsonSerializableSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The serialization options.
An object.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the default serialization options for this serializer.
The default serialization options for this serializer.
Gets the document Id.
The document.
The Id.
The nominal type of the Id.
The IdGenerator for the Id type.
True if the document has an Id.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Gets the serialization info for a member.
The member name.
The serialization info for the member.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Sets the document Id.
The document.
The Id.
Gets an instance of the BsonIBsonSerializableSerializer class.
Represents a serializer for enums.
Initializes a new instance of the EnumSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the EnumSerializer class.
Represents a BSON regular expression value.
Initializes a new instance of the BsonRegularExpression class.
A regular expression pattern.
Initializes a new instance of the BsonRegularExpression class.
A regular expression pattern.
Regular expression options.
Initializes a new instance of the BsonRegularExpression class.
A Regex.
Converts a Regex to a BsonRegularExpression.
A Regex.
A BsonRegularExpression.
Converts a string to a BsonRegularExpression.
A string.
A BsonRegularExpression.
Compares two BsonRegularExpression values.
The first BsonRegularExpression.
The other BsonRegularExpression.
True if the two BsonRegularExpression values are not equal according to ==.
Compares two BsonRegularExpression values.
The first BsonRegularExpression.
The other BsonRegularExpression.
True if the two BsonRegularExpression values are equal according to ==.
Creates a new BsonRegularExpression.
An object to be mapped to a BsonRegularExpression.
A BsonRegularExpression or null.
Creates a new instance of the BsonRegularExpression class.
A Regex.
A BsonRegularExpression.
Creates a new instance of the BsonRegularExpression class.
A regular expression pattern.
A BsonRegularExpression.
Creates a new instance of the BsonRegularExpression class.
A regular expression pattern.
Regular expression options.
A BsonRegularExpression.
Compares this BsonRegularExpression to another BsonRegularExpression.
The other BsonRegularExpression.
A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other.
Compares the BsonRegularExpression to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonRegularExpression is less than, equal to, or greather than the other BsonValue.
Compares this BsonRegularExpression to another BsonRegularExpression.
The other BsonRegularExpression.
True if the two BsonRegularExpression values are equal.
Compares this BsonRegularExpression to another object.
The other object.
True if the other object is a BsonRegularExpression and equal to this one.
Gets the hash code.
The hash code.
Converts the BsonRegularExpression to a Regex.
A Regex.
Returns a string representation of the value.
A string representation of the value.
Gets the regular expression pattern.
Gets the regular expression options.
Represents a BSON int value.
Creates a new instance of the BsonInt32 class.
The value.
Converts an int to a BsonInt32.
An int.
A BsonInt32.
Compares two BsonInt32 values.
The first BsonInt32.
The other BsonInt32.
True if the two BsonInt32 values are not equal according to ==.
Compares two BsonInt32 values.
The first BsonInt32.
The other BsonInt32.
True if the two BsonInt32 values are equal according to ==.
Creates a new instance of the BsonInt32 class.
An int.
A BsonInt32.
Creates a new BsonInt32.
An object to be mapped to a BsonInt32.
A BsonInt32 or null.
Compares this BsonInt32 to another BsonInt32.
The other BsonInt32.
A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other.
Compares the BsonInt32 to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonInt32 is less than, equal to, or greather than the other BsonValue.
Compares this BsonInt32 to another BsonInt32.
The other BsonInt32.
True if the two BsonInt32 values are equal.
Compares this BsonInt32 to another object.
The other object.
True if the other object is a BsonInt32 and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Compares this BsonInt32 against another BsonValue.
The other BsonValue.
True if this BsonInt32 and the other BsonValue are equal according to ==.
Gets an instance of BsonInt32 that represents -1.
Gets an instance of BsonInt32 that represents -0.
Gets an instance of BsonInt32 that represents 1.
Gets an instance of BsonInt32 that represents 2.
Gets an instance of BsonInt32 that represents 3.
Gets the BsonInt32 as an int.
Gets the value of this BsonInt32.
Represents a BSON double value.
Initializes a new instance of the BsonDouble class.
The value.
Converts a double to a BsonDouble.
A double.
A BsonDouble.
Compares two BsonDouble values.
The first BsonDouble.
The other BsonDouble.
True if the two BsonDouble values are not equal according to ==.
Compares two BsonDouble values.
The first BsonDouble.
The other BsonDouble.
True if the two BsonDouble values are equal according to ==.
Creates a new instance of the BsonDouble class.
A double.
A BsonDouble.
Creates a new instance of the BsonDouble class.
An object to be mapped to a BsonDouble.
A BsonDouble.
Compares this BsonDouble to another BsonDouble.
The other BsonDouble.
A 32-bit signed integer that indicates whether this BsonDouble is less than, equal to, or greather than the other.
Compares the BsonDouble to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonDouble is less than, equal to, or greather than the other BsonValue.
Compares this BsonDouble to another BsonDouble.
The other BsonDouble.
True if the two BsonDouble values are equal.
Compares this BsonDouble to another object.
The other object.
True if the other object is a BsonDouble and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Compares this BsonDouble against another BsonValue.
The other BsonValue.
True if this BsonDouble and the other BsonValue are equal according to ==.
Gets the BsonDouble as a double.
Gets the value of this BsonDouble.
Specifies that this is the Id field or property.
Initializes a new instance of the BsonIdAttribute class.
Gets or sets the Id generator for the Id.
Gets or sets the Id element serialization order.
Represents a BSON internal exception (almost surely the result of a bug).
Represents a BSON exception.
Initializes a new instance of the BsonException class.
Initializes a new instance of the BsonException class.
The error message.
Initializes a new instance of the BsonException class.
The error message.
The inner exception.
Initializes a new instance of the BsonException class.
The error message format string.
One or more args for the error message.
Initializes a new instance of the BsonException class (this overload used by deserialization).
The SerializationInfo.
The StreamingContext.
Initializes a new instance of the BsonInternalException class.
Initializes a new instance of the BsonInternalException class.
The error message.
Initializes a new instance of the BsonInternalException class.
The error message.
The inner exception.
Initializes a new instance of the BsonInternalException class (this overload used by deserialization).
The SerializationInfo.
The StreamingContext.
Represents the units a TimeSpan is serialized in.
Use ticks as the units.
Use days as the units.
Use hours as the units.
Use minutes as the units.
Use seconds as the units.
Use milliseconds as the units.
Use nanoseconds as the units.
Represents a member finder convention.
Finds the members of a class that are serialized.
The class.
The members that are serialized.
Represents a member finder convention where all public read/write fields and properties are serialized.
Finds the members of a class that are serialized.
The class.
The members that are serialized.
Represents the BSON undefined value.
Compares two BsonUndefined values.
The first BsonUndefined.
The other BsonUndefined.
True if the two BsonUndefined values are not equal according to ==.
Compares two BsonUndefined values.
The first BsonUndefined.
The other BsonUndefined.
True if the two BsonUndefined values are equal according to ==.
Compares this BsonUndefined to another BsonUndefined.
The other BsonUndefined.
A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other.
Compares the BsonUndefined to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonUndefined is less than, equal to, or greather than the other BsonValue.
Compares this BsonUndefined to another BsonUndefined.
The other BsonUndefined.
True if the two BsonUndefined values are equal.
Compares this BsonUndefined to another object.
The other object.
True if the other object is a BsonUndefined and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Gets the singleton instance of BsonUndefined.
A static class that represents a JSON scanner.
Gets the next JsonToken from a JsonBuffer.
The buffer.
The next token.
Indicates whether a field or property equal to the default value should be ignored when serializing this class.
Initializes a new instance of the BsonIgnoreIfDefaultAttribute class.
Initializes a new instance of the BsonIgnoreIfDefaultAttribute class.
Whether a field or property equal to the default value should be ignored when serializing this class.
Gets whether a field or property equal to the default value should be ignored when serializing this class.
Represents a BSON long value.
Initializes a new instance of the BsonInt64 class.
The value.
Converts a long to a BsonInt64.
A long.
A BsonInt64.
Compares two BsonInt64 values.
The first BsonInt64.
The other BsonInt64.
True if the two BsonInt64 values are not equal according to ==.
Compares two BsonInt64 values.
The first BsonInt64.
The other BsonInt64.
True if the two BsonInt64 values are equal according to ==.
Creates a new instance of the BsonInt64 class.
A long.
A BsonInt64.
Creates a new BsonInt64.
An object to be mapped to a BsonInt64.
A BsonInt64 or null.
Compares this BsonInt64 to another BsonInt64.
The other BsonInt64.
A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other.
Compares the BsonInt64 to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonInt64 is less than, equal to, or greather than the other BsonValue.
Compares this BsonInt64 to another BsonInt64.
The other BsonInt64.
True if the two BsonInt64 values are equal.
Compares this BsonInt64 to another object.
The other object.
True if the other object is a BsonInt64 and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Compares this BsonInt32 against another BsonValue.
The other BsonValue.
True if this BsonInt64 and the other BsonValue are equal according to ==.
Gets the BsonInt64 as a long.
Gets the value of this BsonInt64.
Specifies serialization options for a Dictionary field or property.
Initializes a new instance of the BsonDictionaryOptionsAttribute class.
Initializes a new instance of the BsonDictionaryOptionsAttribute class.
The representation to use for the Dictionary.
Gets or sets the external representation.
Specifies serialization options for a DateTime field or property.
Initializes a new instance of the BsonDateTimeOptionsAttribute class.
Gets or sets whether the DateTime consists of a Date only.
Gets or sets the DateTimeKind (Local, Unspecified or Utc).
Gets or sets the external representation.
An interface for custom mappers that map an object to a BsonValue.
Tries to map an object to a BsonValue.
An object.
The BsonValue.
True if the mapping was successfull.
Creates a clone of the context.
A clone of the context.
Represents a BSON element.
Initializes a new instance of the BsonElement class.
The name of the element.
The value of the element.
Compares two BsonElements.
The first BsonElement.
The other BsonElement.
True if the two BsonElements are equal (or both null).
Compares two BsonElements.
The first BsonElement.
The other BsonElement.
True if the two BsonElements are not equal (or one is null and the other is not).
Creates a new instance of the BsonElement class.
Whether to create the BsonElement or return null.
The name of the element.
The value of the element.
A BsonElement or null.
Creates a new instance of the BsonElement class.
The name of the element.
The value of the element.
A BsonElement or null.
Creates a shallow clone of the element (see also DeepClone).
A shallow clone of the element.
Creates a deep clone of the element (see also Clone).
A deep clone of the element.
Compares this BsonElement to another BsonElement.
The other BsonElement.
A 32-bit signed integer that indicates whether this BsonElement is less than, equal to, or greather than the other.
Compares this BsonElement to another BsonElement.
The other BsonElement.
True if the two BsonElement values are equal.
Compares this BsonElement to another object.
The other object.
True if the other object is a BsonElement and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Gets the name of the element.
Gets or sets the value of the element.
Represents a BSON JavaScript value.
Initializes a new instance of the BsonJavaScript class.
The JavaScript code.
Initializes a new instance of the BsonJavaScript class (only called by BsonJavaScriptWithScope).
The JavaScript code.
The BsonType (must be JavaScriptWithScope).
Compares two BsonJavaScript values.
The first BsonJavaScript.
The other BsonJavaScript.
True if the two BsonJavaScript values are not equal according to ==.
Compares two BsonJavaScript values.
The first BsonJavaScript.
The other BsonJavaScript.
True if the two BsonJavaScript values are equal according to ==.
Converts a string to a BsonJavaScript.
A string.
A BsonJavaScript.
Creates a new instance of the BsonJavaScript class.
A string containing JavaScript code.
A BsonJavaScript.
Creates a new BsonJavaScript.
An object to be mapped to a BsonJavaScript.
A BsonJavaScript or null.
Compares this BsonJavaScript to another BsonJavaScript.
The other BsonJavaScript.
A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other.
Compares the BsonJavaScript to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonJavaScript is less than, equal to, or greather than the other BsonValue.
Compares this BsonJavaScript to another BsonJavaScript.
The other BsonJavaScript.
True if the two BsonJavaScript values are equal.
Compares this BsonJavaScript to another object.
The other object.
True if the other object is a BsonJavaScript and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Gets the JavaScript code.
A static class that represents the BSON serialization functionality.
Deserializes an object from a BsonDocument.
The nominal type of the object.
The BsonDocument.
A TNominalType.
Deserializes an object from a JsonBuffer.
The nominal type of the object.
The JsonBuffer.
A TNominalType.
Deserializes an object from a BsonReader.
The nominal type of the object.
The BsonReader.
A TNominalType.
Deserializes an object from a BSON byte array.
The nominal type of the object.
The BSON byte array.
A TNominalType.
Deserializes an object from a BSON Stream.
The nominal type of the object.
The BSON Stream.
A TNominalType.
Deserializes an object from a JSON string.
The nominal type of the object.
The JSON string.
A TNominalType.
Deserializes an object from a JSON TextReader.
The nominal type of the object.
The JSON TextReader.
A TNominalType.
Deserializes an object from a BsonDocument.
The BsonDocument.
The nominal type of the object.
A TNominalType.
Deserializes an object from a JsonBuffer.
The JsonBuffer.
The nominal type of the object.
An object.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
An object.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The serialization options.
An object.
Deserializes an object from a BSON byte array.
The BSON byte array.
The nominal type of the object.
An object.
Deserializes an object from a BSON Stream.
The BSON Stream.
The nominal type of the object.
An object.
Deserializes an object from a JSON string.
The JSON string.
The nominal type of the object.
An object.
Deserializes an object from a JSON TextReader.
The JSON TextReader.
The nominal type of the object.
An object.
Looks up a generic serializer definition.
The generic type.
A generic serializer definition.
Looks up an IdGenerator.
The Id type.
An IdGenerator for the Id type.
Looks up a serializer for a Type.
The Type.
A serializer for the Type.
Registers a generic serializer definition for a generic type.
The generic type.
The generic serializer definition.
Registers an IdGenerator for an Id Type.
The Id Type.
The IdGenerator for the Id Type.
Registers a serialization provider.
The serialization provider.
Registers a serializer for a type.
The type.
The serializer.
Serializes an object to a BsonWriter.
The nominal type of the object.
The BsonWriter.
The object.
Serializes an object to a BsonWriter.
The nominal type of the object.
The BsonWriter.
The object.
The serialization options.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type of the object.
The object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type of the object.
The object.
The serialization options.
Gets or sets whether to use the NullIdChecker on reference Id types that don't have an IdGenerator registered.
Gets or sets whether to use the ZeroIdChecker on value Id types that don't have an IdGenerator registered.
Represents a BSON serialization exception.
Initializes a new instance of the BsonSerializationException class.
Initializes a new instance of the BsonSerializationException class.
The error message.
Initializes a new instance of the BsonSerializationException class.
The error message.
The inner exception.
Initializes a new instance of the BsonSerializationException class (this overload used by deserialization).
The SerializationInfo.
The StreamingContext.
Represents an Id generator for Guids stored in BsonBinaryData values.
An interface implemented by Id generators.
Generates an Id for a document.
The container of the document (will be a MongoCollection when called from the C# driver).
The document.
An Id.
Tests whether an Id is empty.
The Id.
True if the Id is empty.
Initializes a new instance of the BsonBinaryDataGuidGenerator class.
The GuidRepresentation to use when generating new Id values.
Gets the instance of BsonBinaryDataGuidGenerator for a GuidRepresentation.
The GuidRepresentation.
The instance of BsonBinaryDataGuidGenerator for a GuidRepresentation.
Generates an Id for a document.
The container of the document (will be a MongoCollection when called from the C# driver).
The document.
An Id.
Tests whether an Id is empty.
The Id.
True if the Id is empty.
Gets an instance of BsonBinaryDataGuidGenerator for CSharpLegacy GuidRepresentation.
Gets an instance of BsonBinaryDataGuidGenerator for JavaLegacy GuidRepresentation.
Gets an instance of BsonBinaryDataGuidGenerator for PythonLegacy GuidRepresentation.
Gets an instance of BsonBinaryDataGuidGenerator for Standard GuidRepresentation.
Gets an instance of BsonBinaryDataGuidGenerator for Unspecifed GuidRepresentation.
Represents an Id generator for BsonObjectIds.
Initializes a new instance of the BsonObjectIdGenerator class.
Generates an Id for a document.
The container of the document (will be a MongoCollection when called from the C# driver).
The document.
An Id.
Tests whether an Id is empty.
The Id.
True if the Id is empty.
Gets an instance of ObjectIdGenerator.
Represents an Id generator for Guids using the COMB algorithm.
Initializes a new instance of the CombGuidGenerator class.
Generates an Id for a document.
The container of the document (will be a MongoCollection when called from the C# driver).
The document.
An Id.
Tests whether an Id is empty.
The Id.
True if the Id is empty.
Gets an instance of CombGuidGenerator.
Represents an Id generator for Guids.
Initializes a new instance of the GuidGenerator class.
Generates an Id for a document.
The container of the document (will be a MongoCollection when called from the C# driver).
The document.
An Id.
Tests whether an Id is empty.
The Id.
True if the Id is empty.
Gets an instance of GuidGenerator.
Represents an Id generator that only checks that the Id is not null.
Initializes a new instance of the NullIdChecker class.
Generates an Id for a document.
The container of the document (will be a MongoCollection when called from the C# driver).
The document.
An Id.
Tests whether an Id is empty.
The Id.
True if the Id is empty.
Gets an instance of NullIdChecker.
Represents an Id generator for ObjectIds.
Initializes a new instance of the ObjectIdGenerator class.
Generates an Id for a document.
The container of the document (will be a MongoCollection when called from the C# driver).
The document.
An Id.
Tests whether an Id is empty.
The Id.
True if the Id is empty.
Gets an instance of ObjectIdGenerator.
Represents an Id generator for ObjectIds represented internally as strings.
Initializes a new instance of the StringObjectIdGenerator class.
Generates an Id for a document.
The container of the document (will be a MongoCollection when called from the C# driver).
The document.
An Id.
Tests whether an Id is empty.
The Id.
True if the Id is empty.
Gets an instance of StringObjectIdGenerator.
Represents an Id generator that only checks that the Id is not all zeros.
The type of the Id.
Initializes a new instance of the ZeroIdChecker class.
Generates an Id for a document.
The container of the document (will be a MongoCollection when called from the C# driver).
The document.
An Id.
Tests whether an Id is empty.
The Id.
True if the Id is empty.
Represents a JSON token type.
An invalid token.
A begin array token (a '[').
A begin object token (a '{').
An end array token (a ']').
A left parenthesis (a '(').
A right parenthesis (a ')').
An end object token (a '}').
A colon token (a ':').
A comma token (a ',').
A DateTime token.
A Double token.
An Int32 token.
And Int64 token.
An ObjectId token.
A regular expression token.
A string token.
An unquoted string token.
An end of file token.
Represents a JSON token.
Initializes a new instance of the JsonToken class.
The token type.
The lexeme.
Gets the token type.
Gets the lexeme.
Gets the value of a DateTime token.
Gets the value of a Double token.
Gets the value of an Int32 token.
Gets the value of an Int64 token.
Gets the value of an ObjectId token.
Gets the value of a regular expression token.
Gets the value of a string token.
Represents a DateTime JSON token.
Initializes a new instance of the DateTimeJsonToken class.
The lexeme.
The DateTime value.
Gets the value of a DateTime token.
Represents a Double JSON token.
Initializes a new instance of the DoubleJsonToken class.
The lexeme.
The Double value.
Gets the value of a Double token.
Represents an Int32 JSON token.
Initializes a new instance of the Int32JsonToken class.
The lexeme.
The Int32 value.
Gets the value of an Int32 token.
Gets the value of an Int32 token as an Int64.
Represents an Int64 JSON token.
Initializes a new instance of the Int64JsonToken class.
The lexeme.
The Int64 value.
Gets the value of an Int64 token.
Represents an ObjectId JSON token.
Initializes a new instance of the ObjectIdJsonToken class.
The lexeme.
The ObjectId value.
Gets the value of an ObjectId token.
Represents a regular expression JSON token.
Initializes a new instance of the RegularExpressionJsonToken class.
The lexeme.
The BsonRegularExpression value.
Gets the value of a regular expression token.
Represents a String JSON token.
Initializes a new instance of the StringJsonToken class.
The token type.
The lexeme.
The String value.
Gets the value of an String token.
Represents a BSON writer to a BsonDocument.
Represents a BSON writer for some external format (see subclasses).
Initializes a new instance of the BsonWriter class.
The writer settings.
Creates a BsonWriter to a BsonBuffer.
Optional BsonBinaryWriterSettings.
A BsonWriter.
Creates a BsonWriter to a BsonBuffer.
A BsonBuffer.
A BsonWriter.
Creates a BsonWriter to a BsonBuffer.
A BsonBuffer.
Optional BsonBinaryWriterSettings.
A BsonWriter.
Creates a BsonWriter to a BsonDocument.
A BsonDocument.
A BsonWriter.
Creates a BsonWriter to a BsonDocument.
A BsonDocument.
The settings.
A BsonWriter.
Creates a BsonWriter to a BSON Stream.
A Stream.
A BsonWriter.
Creates a BsonWriter to a BSON Stream.
A Stream.
Optional BsonBinaryWriterSettings.
A BsonWriter.
Creates a BsonWriter to a JSON TextWriter.
A TextWriter.
A BsonWriter.
Creates a BsonWriter to a JSON TextWriter.
A TextWriter.
Optional JsonWriterSettings.
A BsonWriter.
Closes the writer.
Disposes of any resources used by the writer.
Flushes any pending data to the output destination.
Writes a BSON binary data element to the writer.
The binary data.
The binary data subtype.
Writes BSON binary data to the writer.
The binary data.
The binary data subtype.
The respresentation for Guids.
Writes a BSON binary data element to the writer.
The name of the element.
The binary data.
The binary data subtype.
Writes a BSON binary data element to the writer.
The name of the element.
The binary data.
The binary data subtype.
The representation for Guids.
Writes a BSON Boolean to the writer.
The Boolean value.
Writes a BSON Boolean element to the writer.
The name of the element.
The Boolean value.
Writes a BSON DateTime to the writer.
The number of milliseconds since the Unix epoch.
Writes a BSON DateTime element to the writer.
The name of the element.
The number of milliseconds since the Unix epoch.
Writes a BSON Double to the writer.
The Double value.
Writes a BSON Double element to the writer.
The name of the element.
The Double value.
Writes the end of a BSON array to the writer.
Writes the end of a BSON document to the writer.
Writes a BSON Int32 to the writer.
The Int32 value.
Writes a BSON Int32 element to the writer.
The name of the element.
The Int32 value.
Writes a BSON Int64 to the writer.
The Int64 value.
Writes a BSON Int64 element to the writer.
The name of the element.
The Int64 value.
Writes a BSON JavaScript to the writer.
The JavaScript code.
Writes a BSON JavaScript element to the writer.
The name of the element.
The JavaScript code.
Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope).
The JavaScript code.
Writes a BSON JavaScript element to the writer (call WriteStartDocument to start writing the scope).
The name of the element.
The JavaScript code.
Writes a BSON MaxKey to the writer.
Writes a BSON MaxKey element to the writer.
The name of the element.
Writes a BSON MinKey to the writer.
Writes a BSON MinKey element to the writer.
The name of the element.
Writes the name of an element to the writer.
The name of the element.
Writes a BSON null to the writer.
Writes a BSON null element to the writer.
The name of the element.
Writes a BSON ObjectId to the writer.
The timestamp.
The machine hash.
The PID.
The increment.
Writes a BSON ObjectId element to the writer.
The name of the element.
The timestamp.
The machine hash.
The PID.
The increment.
Writes a BSON regular expression to the writer.
A regular expression pattern.
A regular expression options.
Writes a BSON regular expression element to the writer.
The name of the element.
A regular expression pattern.
A regular expression options.
Writes the start of a BSON array to the writer.
Writes the start of a BSON array element to the writer.
The name of the element.
Writes the start of a BSON document to the writer.
Writes the start of a BSON document element to the writer.
The name of the element.
Writes a BSON String to the writer.
The String value.
Writes a BSON String element to the writer.
The name of the element.
The String value.
Writes a BSON Symbol to the writer.
The symbol.
Writes a BSON Symbol element to the writer.
The name of the element.
The symbol.
Writes a BSON timestamp to the writer.
The combined timestamp/increment value.
Writes a BSON timestamp element to the writer.
The name of the element.
The combined timestamp/increment value.
Writes a BSON undefined to the writer.
Writes a BSON undefined element to the writer.
The name of the element.
Checks that the element name is valid.
The element name to be checked.
Disposes of any resources used by the writer.
True if called from Dispose.
Throws an InvalidOperationException when the method called is not valid for the current ContextType.
The name of the method.
The actual ContextType.
The valid ContextTypes.
Throws an InvalidOperationException when the method called is not valid for the current state.
The name of the method.
The valid states.
Gets or sets whether to check element names (no periods or leading $).
Gets or sets whether to check an update document (turns CheckElementNames on if first element name does *not* start with $).
Gets the current serialization depth.
Gets the settings of the writer.
Gets the current state of the writer.
Gets whether the BsonWriter has been disposed.
Gets the name of the element being written.
Initializes a new instance of the BsonDocumentWriter class.
The document to write to (normally starts out as an empty document).
The settings.
Closes the writer.
Flushes any pending data to the output destination.
Writes BSON binary data to the writer.
The binary data.
The binary data subtype.
The representation for Guids.
Writes a BSON Boolean to the writer.
The Boolean value.
Writes a BSON DateTime to the writer.
The number of milliseconds since the Unix epoch.
Writes a BSON Double to the writer.
The Double value.
Writes the end of a BSON array to the writer.
Writes the end of a BSON document to the writer.
Writes a BSON Int32 to the writer.
The Int32 value.
Writes a BSON Int64 to the writer.
The Int64 value.
Writes a BSON JavaScript to the writer.
The JavaScript code.
Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope).
The JavaScript code.
Writes a BSON MaxKey to the writer.
Writes a BSON MinKey to the writer.
Writes the name of an element to the writer.
The name of the element.
Writes a BSON null to the writer.
Writes a BSON ObjectId to the writer.
The timestamp.
The machine hash.
The PID.
The increment.
Writes a BSON regular expression to the writer.
A regular expression pattern.
A regular expression options.
Writes the start of a BSON array to the writer.
Writes the start of a BSON document to the writer.
Writes a BSON String to the writer.
The String value.
Writes a BSON Symbol to the writer.
The symbol.
Writes a BSON timestamp to the writer.
The combined timestamp/increment value.
Writes a BSON undefined to the writer.
Disposes of any resources used by the writer.
True if called from Dispose.
Gets the top level BsonDocument.
Represents a BSON reader for a BsonDocument.
Represents a BSON reader for some external format (see subclasses).
Initializes a new instance of the BsonReader class.
The reader settings.
Creates a BsonReader for a BsonBuffer.
The BsonBuffer.
A BsonReader.
Creates a BsonReader for a BsonBuffer.
The BsonBuffer.
Optional reader settings.
A BsonReader.
Creates a BsonReader for a BsonDocument.
The BsonDocument.
A BsonReader.
Creates a BsonReader for a BsonDocument.
The BsonDocument.
The settings.
A BsonReader.
Creates a BsonReader for a JsonBuffer.
The buffer.
A BsonReader.
Creates a BsonReader for a JsonBuffer.
The buffer.
The settings.
A BsonReader.
Creates a BsonReader for a BSON Stream.
The BSON Stream.
A BsonReader.
Creates a BsonReader for a BSON Stream.
The BSON Stream.
Optional reader settings.
A BsonReader.
Creates a BsonReader for a JSON string.
The JSON string.
A BsonReader.
Creates a BsonReader for a JSON TextReader.
The JSON TextReader.
A BsonReader.
Closes the reader.
Disposes of any resources used by the reader.
Positions the reader to an element by name.
The name of the element.
True if the element was found.
Positions the reader to a string element by name.
The name of the element.
True if the element was found.
Gets a bookmark to the reader's current position and state.
A bookmark.
Gets the current BsonType (calls ReadBsonType if necessary).
The current BsonType.
Reads BSON binary data from the reader.
The binary data.
The binary data subtype.
Reads BSON binary data from the reader.
The binary data.
The binary data subtype.
The representation for Guids.
Reads a BSON binary data element from the reader.
The name of the element.
The binary data.
The binary data subtype.
Reads a BSON binary data element from the reader.
The name of the element.
The binary data.
The binary data subtype.
The representation for Guids.
Reads a BSON boolean from the reader.
A Boolean.
Reads a BSON boolean element from the reader.
The name of the element.
A Boolean.
Reads a BsonType from the reader.
A BsonType.
Reads a BSON DateTime from the reader.
The number of milliseconds since the Unix epoch.
Reads a BSON DateTime element from the reader.
The name of the element.
The number of milliseconds since the Unix epoch.
Reads a BSON Double from the reader.
A Double.
Reads a BSON Double element from the reader.
The name of the element.
A Double.
Reads the end of a BSON array from the reader.
Reads the end of a BSON document from the reader.
Reads a BSON Int32 from the reader.
An Int32.
Reads a BSON Int32 element from the reader.
The name of the element.
An Int32.
Reads a BSON Int64 from the reader.
An Int64.
Reads a BSON Int64 element from the reader.
The name of the element.
An Int64.
Reads a BSON JavaScript from the reader.
A string.
Reads a BSON JavaScript element from the reader.
The name of the element.
A string.
Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope).
A string.
Reads a BSON JavaScript with scope element from the reader (call ReadStartDocument next to read the scope).
The name of the element.
A string.
Reads a BSON MaxKey from the reader.
Reads a BSON MaxKey element from the reader.
The name of the element.
Reads a BSON MinKey from the reader.
Reads a BSON MinKey element from the reader.
The name of the element.
Reads the name of an element from the reader.
The name of the element.
Reads the name of an element from the reader.
The name of the element.
Reads a BSON null from the reader.
Reads a BSON null element from the reader.
The name of the element.
Reads a BSON ObjectId from the reader.
The timestamp.
The machine hash.
The PID.
The increment.
Reads a BSON ObjectId element from the reader.
The name of the element.
The timestamp.
The machine hash.
The PID.
The increment.
Reads a BSON regular expression from the reader.
A regular expression pattern.
A regular expression options.
Reads a BSON regular expression element from the reader.
The name of the element.
A regular expression pattern.
A regular expression options.
Reads the start of a BSON array.
Reads the start of a BSON document.
Reads a BSON string from the reader.
A String.
Reads a BSON string element from the reader.
A String.
The name of the element.
Reads a BSON symbol from the reader.
A string.
Reads a BSON symbol element from the reader.
The name of the element.
A string.
Reads a BSON timestamp from the reader.
The combined timestamp/increment.
Reads a BSON timestamp element from the reader.
The combined timestamp/increment.
The name of the element.
Reads a BSON undefined from the reader.
Reads a BSON undefined element from the reader.
The name of the element.
Returns the reader to previously bookmarked position and state.
The bookmark.
Skips the name (reader must be positioned on a name).
Skips the value (reader must be positioned on a value).
Disposes of any resources used by the reader.
True if called from Dispose.
Throws an InvalidOperationException when the method called is not valid for the current ContextType.
The name of the method.
The actual ContextType.
The valid ContextTypes.
Throws an InvalidOperationException when the method called is not valid for the current state.
The name of the method.
The valid states.
Throws an ObjectDisposedException.
Verifies the current state and BsonType of the reader.
The name of the method calling this one.
The required BSON type.
Verifies the name of the current element.
The expected name.
Gets the current BsonType.
Gets the settings of the reader.
Gets the current state of the reader.
Gets the current name.
Gets whether the BsonReader has been disposed.
Initializes a new instance of the BsonDocumentReader class.
A BsonDocument.
The reader settings.
Closes the reader.
Gets a bookmark to the reader's current position and state.
A bookmark.
Reads BSON binary data from the reader.
The binary data.
The binary data subtype.
The representation for Guids.
Reads a BSON boolean from the reader.
A Boolean.
Reads a BsonType from the reader.
A BsonType.
Reads a BSON DateTime from the reader.
The number of milliseconds since the Unix epoch.
Reads a BSON Double from the reader.
A Double.
Reads the end of a BSON array from the reader.
Reads the end of a BSON document from the reader.
Reads a BSON Int32 from the reader.
An Int32.
Reads a BSON Int64 from the reader.
An Int64.
Reads a BSON JavaScript from the reader.
A string.
Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope).
A string.
Reads a BSON MaxKey from the reader.
Reads a BSON MinKey from the reader.
Reads a BSON null from the reader.
Reads a BSON ObjectId from the reader.
The timestamp.
The machine hash.
The PID.
The increment.
Reads a BSON regular expression from the reader.
A regular expression pattern.
A regular expression options.
Reads the start of a BSON array.
Reads the start of a BSON document.
Reads a BSON string from the reader.
A String.
Reads a BSON symbol from the reader.
A string.
Reads a BSON timestamp from the reader.
The combined timestamp/increment.
Reads a BSON undefined from the reader.
Returns the reader to previously bookmarked position and state.
The bookmark.
Skips the name (reader must be positioned on a name).
Skips the value (reader must be positioned on a value).
Disposes of any resources used by the reader.
True if called from Dispose.
Represents settings for a BsonDocumentWriter.
Represents settings for a BsonWriter.
Initializes a new instance of the BsonWriterSettings class.
Initializes a new instance of the BsonWriterSettings class.
The representation for Guids.
Creates a clone of the settings.
A clone of the settings.
Freezes the settings.
The frozen settings.
Returns a frozen copy of the settings.
A frozen copy of the settings.
Creates a clone of the settings.
A clone of the settings.
Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen.
Gets or sets the representation for Guids.
Gets whether the settings are frozen.
Gets or sets the max serialization depth allowed (used to detect circular references).
Initializes a new instance of the BsonDocumentWriterSettings class.
Initializes a new instance of the BsonDocumentWriterSettings class.
The representation for Guids.
Creates a clone of the settings.
A clone of the settings.
Creates a clone of the settings.
A clone of the settings.
Gets or sets the default BsonDocumentWriter settings.
Represents settings for a BsonDocumentReader.
Represents settings for a BsonReader.
Initializes a new instance of the BsonReaderSettings class.
Initializes a new instance of the BsonReaderSettings class.
The representation for Guids.
Creates a clone of the settings.
A clone of the settings.
Freezes the settings.
The frozen settings.
Returns a frozen copy of the settings.
A frozen copy of the settings.
Creates a clone of the settings.
A clone of the settings.
Throws an InvalidOperationException when an attempt is made to change a setting after the settings are frozen.
Gets or sets the representation for Guids.
Gets whether the settings are frozen.
Initializes a new instance of the BsonDocumentReaderSettings class.
Initializes a new instance of the BsonDocumentReaderSettings class.
The representation for Guids.
Creates a clone of the settings.
A clone of the settings.
Creates a clone of the settings.
A clone of the settings.
Gets or sets the default settings for a BsonDocumentReader.
Represents the BSON MaxKey value.
Compares two BsonMaxKey values.
The first BsonMaxKey.
The other BsonMaxKey.
True if the two BsonMaxKey values are not equal according to ==.
Compares two BsonMaxKey values.
The first BsonMaxKey.
The other BsonMaxKey.
True if the two BsonMaxKey values are equal according to ==.
Compares this BsonMaxKey to another BsonMaxKey.
The other BsonMaxKey.
A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other.
Compares the BsonMaxKey to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonMaxKey is less than, equal to, or greather than the other BsonValue.
Compares this BsonMaxKey to another BsonMaxKey.
The other BsonMaxKey.
True if the two BsonMaxKey values are equal.
Compares this BsonMaxKey to another object.
The other object.
True if the other object is a BsonMaxKey and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Gets the singleton instance of BsonMaxKey.
Represents a BSON writer to a BSON Stream.
Initializes a new instance of the BsonBinaryWriter class.
A stream.
A BsonBuffer.
Optional BsonBinaryWriter settings.
Closes the writer.
Flushes any pending data to the output destination.
Writes BSON binary data to the writer.
The binary data.
The binary data subtype.
The representation for Guids.
Writes a BSON Boolean to the writer.
The Boolean value.
Writes a BSON DateTime to the writer.
The number of milliseconds since the Unix epoch.
Writes a BSON Double to the writer.
The Double value.
Writes the end of a BSON array to the writer.
Writes the end of a BSON document to the writer.
Writes a BSON Int32 to the writer.
The Int32 value.
Writes a BSON Int64 to the writer.
The Int64 value.
Writes a BSON JavaScript to the writer.
The JavaScript code.
Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope).
The JavaScript code.
Writes a BSON MaxKey to the writer.
Writes a BSON MinKey to the writer.
Writes a BSON null to the writer.
Writes a BSON ObjectId to the writer.
The timestamp.
The machine hash.
The PID.
The increment.
Writes a BSON regular expression to the writer.
A regular expression pattern.
A regular expression options.
Writes the start of a BSON array to the writer.
Writes the start of a BSON document to the writer.
Writes a BSON String to the writer.
The String value.
Writes a BSON Symbol to the writer.
The symbol.
Writes a BSON timestamp to the writer.
The combined timestamp/increment value.
Writes a BSON undefined to the writer.
Disposes of any resources used by the writer.
True if called from Dispose.
Gets the writer's BsonBuffer.
Represents a BSON string value.
Initializes a new instance of the BsonString class.
The value.
Converts a string to a BsonString.
A string.
A BsonString.
Compares two BsonString values.
The first BsonString.
The other BsonString.
True if the two BsonString values are not equal according to ==.
Compares two BsonString values.
The first BsonString.
The other BsonString.
True if the two BsonString values are equal according to ==.
Creates a new BsonString.
An object to be mapped to a BsonString.
A BsonString or null.
Creates a new instance of the BsonString class.
A string.
A BsonString.
Compares this BsonString to another BsonString.
The other BsonString.
A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other.
Compares the BsonString to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonString is less than, equal to, or greather than the other BsonValue.
Compares this BsonString to another BsonString.
The other BsonString.
True if the two BsonString values are equal.
Compares this BsonString to another object.
The other object.
True if the other object is a BsonString and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Gets an instance of BsonString that represents an empty string.
Gets the BsonString as a string.
Gets the value of this BsonString.
Represents settings for a JsonWriter.
Initializes a new instance of the JsonWriterSettings class.
Initializes a new instance of the JsonWriterSettings class.
Whether to close the output when the writer is closed.
The output Encoding.
The representation for Guids.
Whether to indent the output.
The indentation characters.
The new line characters.
The output mode.
The version of the shell to target.
Creates a clone of the settings.
A clone of the settings.
Creates a clone of the settings.
A clone of the settings.
Gets or sets the default JsonWriterSettings.
Gets or sets whether to close the output when the writer is closed.
Gets or sets the output Encoding.
Gets or sets whether to indent the output.
Gets or sets the indent characters.
Gets or sets the new line characters.
Gets or sets the output mode.
Gets or sets the shell version (used with OutputMode Shell).
Represents a BSON reader for a binary BSON byte array.
Initializes a new instance of the BsonBinaryReader class.
A BsonBuffer.
A BsonBinaryReaderSettings.
Closes the reader.
Gets a bookmark to the reader's current position and state.
A bookmark.
Reads BSON binary data from the reader.
The binary data.
The binary data subtype.
The representation for Guids.
Reads a BSON boolean from the reader.
A Boolean.
Reads a BsonType from the reader.
A BsonType.
Reads a BSON DateTime from the reader.
The number of milliseconds since the Unix epoch.
Reads a BSON Double from the reader.
A Double.
Reads the end of a BSON array from the reader.
Reads the end of a BSON document from the reader.
Reads a BSON Int32 from the reader.
An Int32.
Reads a BSON Int64 from the reader.
An Int64.
Reads a BSON JavaScript from the reader.
A string.
Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope).
A string.
Reads a BSON MaxKey from the reader.
Reads a BSON MinKey from the reader.
Reads a BSON null from the reader.
Reads a BSON ObjectId from the reader.
The timestamp.
The machine hash.
The PID.
The increment.
Reads a BSON regular expression from the reader.
A regular expression pattern.
A regular expression options.
Reads the start of a BSON array.
Reads the start of a BSON document.
Reads a BSON string from the reader.
A String.
Reads a BSON symbol from the reader.
A string.
Reads a BSON timestamp from the reader.
The combined timestamp/increment.
Reads a BSON undefined from the reader.
Returns the reader to previously bookmarked position and state.
The bookmark.
Skips the name (reader must be positioned on a name).
Skips the value (reader must be positioned on a value).
Disposes of any resources used by the reader.
True if called from Dispose.
Gets the reader's buffer.
Represents a mapping between a class and a BSON document.
Initializes a new instance of the BsonClassMap class.
The class type.
Gets the type of a member.
The member info.
The type of the member.
Checks whether a class map is registered for a type.
The type to check.
True if there is a class map registered for the type.
Looks up a class map (will AutoMap the class if no class map is registered).
The class type.
The class map.
Looks up the conventions profile for a type.
The type.
The conventions profile for that type.
Creates and registers a class map.
The class.
The class map.
Creates and registers a class map.
The class.
The class map initializer.
The class map.
Registers a class map.
The class map.
Registers a conventions profile.
The conventions profile.
The filter function that determines which types this profile applies to.
Automaps the class.
Creates an instance of the class.
An object.
Freezes the class map.
The frozen class map.
Gets a member map (only considers members declared in this class).
The member name.
The member map (or null if the member was not found).
Gets the member map for a BSON element.
The name of the element.
The member map.
Creates a member map for the extra elements field and adds it to the class map.
The name of the extra elements field.
The member map (so method calls can be chained).
Creates a member map for the extra elements member and adds it to the class map.
The member info for the extra elements member.
The member map (so method calls can be chained).
Creates a member map for the extra elements property and adds it to the class map.
The name of the property.
The member map (so method calls can be chained).
Creates a member map for a field and adds it to the class map.
The name of the field.
The member map (so method calls can be chained).
Creates a member map for the Id field and adds it to the class map.
The name of the Id field.
The member map (so method calls can be chained).
Creates a member map for the Id member and adds it to the class map.
The member info for the Id member.
The member map (so method calls can be chained).
Creates a member map for the Id property and adds it to the class map.
The name of the Id property.
The member map (so method calls can be chained).
Creates a member map for a member and adds it to the class map.
The member info.
The member map (so method calls can be chained).
Creates a member map for a property and adds it to the class map.
The name of the property.
The member map (so method calls can be chained).
Sets the discriminator.
The discriminator.
Sets whether a discriminator is required when serializing this class.
Whether a discriminator is required.
Sets the member map of the member used to hold extra elements.
The extra elements member map.
Sets the Id member.
The Id member.
Sets whether extra elements should be ignored when deserializing.
Whether extra elements should be ignored when deserializing.
Sets whether the IgnoreExtraElements value should be inherited by derived classes.
Whether the IgnoreExtraElements value should be inherited by derived classes.
Sets whether this class is a root class.
Whether this class is a root class.
Removes the member map for a field from the class map.
The name of the field.
Removes a member map from the class map.
The member info.
Removes the member map for a property from the class map.
The name of the property.
Gets all the member maps (including maps for inherited members).
Gets the base class map.
Gets the class type.
Gets the conventions used with this class.
Gets the declared member maps (only for members declared in this class).
Gets the discriminator.
Gets whether a discriminator is required when serializing this class.
Gets the member map of the member used to hold extra elements.
Gets whether this class has a root class ancestor.
Gets the Id member map.
Gets whether extra elements should be ignored when deserializing.
Gets whether the IgnoreExtraElements value should be inherited by derived classes.
Gets whether this class is anonymous.
Gets whether the class map is frozen.
Gets whether this class is a root class.
Gets the known types of this class.
Gets the member maps.
Represents a mapping between a class and a BSON document.
The class.
Initializes a new instance of the BsonClassMap class.
Initializes a new instance of the BsonClassMap class.
The class map initializer.
Gets a member map.
The member type.
A lambda expression specifying the member.
The member map.
Creates a member map for the extra elements field and adds it to the class map.
The member type.
A lambda expression specifying the extra elements field.
The member map.
Creates a member map for the extra elements member and adds it to the class map.
The member type.
A lambda expression specifying the extra elements member.
The member map.
Creates a member map for the extra elements property and adds it to the class map.
The member type.
A lambda expression specifying the extra elements property.
The member map.
Creates a member map for a field and adds it to the class map.
The member type.
A lambda expression specifying the field.
The member map.
Creates a member map for the Id field and adds it to the class map.
The member type.
A lambda expression specifying the Id field.
The member map.
Creates a member map for the Id member and adds it to the class map.
The member type.
A lambda expression specifying the Id member.
The member map.
Creates a member map for the Id property and adds it to the class map.
The member type.
A lambda expression specifying the Id property.
The member map.
Creates a member map and adds it to the class map.
The member type.
A lambda expression specifying the member.
The member map.
Creates a member map for the Id property and adds it to the class map.
The member type.
A lambda expression specifying the Id property.
The member map.
Removes the member map for a field from the class map.
The member type.
A lambda expression specifying the field.
Removes a member map from the class map.
The member type.
A lambda expression specifying the member.
Removes a member map for a property from the class map.
The member type.
A lambda expression specifying the property.
Specifies the element name and related options for a field or property.
Initializes a new instance of the BsonElementAttribute class.
Initializes a new instance of the BsonElementAttribute class.
The name of the element.
Gets the element name.
Gets the element serialization order.
Represents serialization options for a document.
Abstract base class for serialization options.
Initializes a new instance of the BsonBaseSerializationOptions class.
Apply an attribute to these serialization options and modify the options accordingly.
The serializer that these serialization options are for.
The serialization options attribute.
Clones the serialization options.
A cloned copy of the serialization options.
Freezes the serialization options.
The frozen serialization options.
Ensures that this instance is not frozen.
Gets whether the serialization options are frozen.
Initializes a new instance of the DocumentSerializationOptions class.
Initializes a new instance of the DocumentSerializationOptions class.
Whether to serialize the Id as the first element.
Apply an attribute to these serialization options and modify the options accordingly.
The serializer that these serialization options are for.
The serialization options attribute.
Clones the serialization options.
A cloned copy of the serialization options.
Gets an instance of DocumentSerializationOptions that specifies that duplicate names are allowed.
Gets or sets the default document serialization options.
Gets an instance of DocumentSerializationOptions that specifies to serialize the Id as the first element.
Gets whether to allow duplicate names.
Gets whether to serialize the Id as the first element.
Represents an ignore if default convention.
Determines whether to ignore nulls for a member.
The member.
Whether to ignore nulls.
Represents an ignore if default convention where default values are never ignored.
Determines whether to ignore nulls for a member.
The member.
Whether to ignore nulls.
Represents an ignore if default convention where default values are always ignored.
Determines whether to ignore nulls for a member.
The member.
Whether to ignore nulls.
Represents settings for a JsonReader.
Initializes a new instance of the JsonReaderSettings class.
Initializes a new instance of the JsonReaderSettings class.
Whether to close the input stream when the reader is closed.
The representation for Guids.
Creates a clone of the settings.
A clone of the settings.
Creates a clone of the settings.
A clone of the settings.
Gets or sets the default settings for a JsonReader.
Gets or sets whether to close the input stream when the reader is closed.
Represents a BSON JavaScript value with a scope.
Initializes a new instance of the BsonJavaScriptWithScope class.
The JavaScript code.
A scope (a set of variables with values).
Compares two BsonJavaScriptWithScope values.
The first BsonJavaScriptWithScope.
The other BsonJavaScriptWithScope.
True if the two BsonJavaScriptWithScope values are not equal according to ==.
Compares two BsonJavaScriptWithScope values.
The first BsonJavaScriptWithScope.
The other BsonJavaScriptWithScope.
True if the two BsonJavaScriptWithScope values are equal according to ==.
Creates a new BsonJavaScriptWithScope.
An object to be mapped to a BsonJavaScriptWithScope.
A BsonJavaScriptWithScope or null.
Creates a new instance of the BsonJavaScript class.
A string containing JavaScript code.
A scope (a set of variable with values).
A BsonJavaScript.
Creates a shallow clone of the BsonJavaScriptWithScope (see also DeepClone).
A shallow clone of the BsonJavaScriptWithScope.
Creates a deep clone of the BsonJavaScriptWithScope (see also Clone).
A deep clone of the BsonJavaScriptWithScope.
Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope.
The other BsonJavaScriptWithScope.
A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other.
Compares the BsonJavaScriptWithScope to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonJavaScriptWithScope is less than, equal to, or greather than the other BsonValue.
Compares this BsonJavaScriptWithScope to another BsonJavaScriptWithScope.
The other BsonJavaScriptWithScope.
True if the two BsonJavaScriptWithScope values are equal.
Compares this BsonJavaScriptWithScope to another object.
The other object.
True if the other object is a BsonJavaScriptWithScope and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Gets the scope (a set of variables with values).
Specifies the discriminator and related options for a class.
Initializes a new instance of the BsonDiscriminatorAttribute class.
Initializes a new instance of the BsonDiscriminatorAttribute class.
The discriminator.
Gets the discriminator.
Gets or sets whether the discriminator is required.
Gets or sets whether this is a root class.
Represents a BSON reader for a JSON string.
Initializes a new instance of the JsonReader class.
The buffer.
The reader settings.
Closes the reader.
Gets a bookmark to the reader's current position and state.
A bookmark.
Reads BSON binary data from the reader.
The binary data.
The binary data subtype.
The representation for Guids.
Reads a BSON boolean from the reader.
A Boolean.
Reads a BsonType from the reader.
A BsonType.
Reads a BSON DateTime from the reader.
The number of milliseconds since the Unix epoch.
Reads a BSON Double from the reader.
A Double.
Reads the end of a BSON array from the reader.
Reads the end of a BSON document from the reader.
Reads a BSON Int32 from the reader.
An Int32.
Reads a BSON Int64 from the reader.
An Int64.
Reads a BSON JavaScript from the reader.
A string.
Reads a BSON JavaScript with scope from the reader (call ReadStartDocument next to read the scope).
A string.
Reads a BSON MaxKey from the reader.
Reads a BSON MinKey from the reader.
Reads a BSON null from the reader.
Reads a BSON ObjectId from the reader.
The timestamp.
The machine hash.
The PID.
The increment.
Reads a BSON regular expression from the reader.
A regular expression pattern.
A regular expression options.
Reads the start of a BSON array.
Reads the start of a BSON document.
Reads a BSON string from the reader.
A String.
Reads a BSON symbol from the reader.
A string.
Reads a BSON timestamp from the reader.
The combined timestamp/increment.
Reads a BSON undefined from the reader.
Returns the reader to previously bookmarked position and state.
The bookmark.
Skips the name (reader must be positioned on a name).
Skips the value (reader must be positioned on a value).
Disposes of any resources used by the reader.
True if called from Dispose.
Represents an extra elements member convention.
Finds the extra elements member of a class.
The class.
The extra elements member.
Represents an extra elements member convention where the extra elements member has a certain name.
Initializes a new instance of the NamedExtraElementsMemberConvention class.
The name of the extra elements member.
Finds the extra elements member of a class.
The class.
The extra elements member.
Gets the name of the extra elements member.
Represents a BSON writer to a TextWriter (in JSON format).
Initializes a new instance of the JsonWriter class.
A TextWriter.
Optional JsonWriter settings.
Closes the writer.
Flushes any pending data to the output destination.
Writes BSON binary data to the writer.
The binary data.
The binary data subtype.
The representation for Guids.
Writes a BSON Boolean to the writer.
The Boolean value.
Writes a BSON DateTime to the writer.
The number of milliseconds since the Unix epoch.
Writes a BSON Double to the writer.
The Double value.
Writes the end of a BSON array to the writer.
Writes the end of a BSON document to the writer.
Writes a BSON Int32 to the writer.
The Int32 value.
Writes a BSON Int64 to the writer.
The Int64 value.
Writes a BSON JavaScript to the writer.
The JavaScript code.
Writes a BSON JavaScript to the writer (call WriteStartDocument to start writing the scope).
The JavaScript code.
Writes a BSON MaxKey to the writer.
Writes a BSON MinKey to the writer.
Writes a BSON null to the writer.
Writes a BSON ObjectId to the writer.
The timestamp.
The machine hash.
The PID.
The increment.
Writes a BSON regular expression to the writer.
A regular expression pattern.
A regular expression options.
Writes the start of a BSON array to the writer.
Writes the start of a BSON document to the writer.
Writes a BSON String to the writer.
The String value.
Writes a BSON Symbol to the writer.
The symbol.
Writes a BSON timestamp to the writer.
The combined timestamp/increment value.
Writes a BSON undefined to the writer.
Disposes of any resources used by the writer.
True if called from Dispose.
Represents a default value convention.
Gets the default value for a member.
The member.
The default value.
Represents a default value convention of null.
Gets the default value for a member.
The member.
null.
This class represents a JSON string buffer.
Initializes a new instance of the JsonBuffer class.
The string.
Reads a character from the buffer.
The next character (or -1 if at the end of the buffer).
Reads a substring from the buffer.
The zero based index of the start of the substring.
The substring.
Reads a substring from the buffer.
The zero based index of the start of the substring.
The number of characters in the substring.
The substring.
Returns one character to the buffer (if the character matches the one at the current position the current position is moved back by one).
The character to return.
Gets the length of the JSON string.
Gets or sets the current position.
Represents serialization options for a DateTime value.
Initializes a new instance of the DateTimeSerializationOptions class.
Initializes a new instance of the DateTimeSerializationOptions class.
Whether this DateTime consists of a Date only.
Initializes a new instance of the DateTimeSerializationOptions class.
Whether this DateTime consists of a Date only.
The external representation.
Initializes a new instance of theDateTimeSerializationOptions class.
The DateTimeKind (Local, Unspecified or Utc).
Initializes a new instance of the DateTimeSerializationOptions class.
The DateTimeKind (Local, Unspecified or Utc).
The external representation.
Apply an attribute to these serialization options and modify the options accordingly.
The serializer that these serialization options are for.
The serialization options attribute.
Clones the serialization options.
A cloned copy of the serialization options.
Gets an instance of DateTimeSerializationOptions with DateOnly=true.
Gets or sets the default DateTime serialization options.
Gets an instance of DateTimeSerializationOptions with Kind=Local.
Gets an instance of DateTimeSerializationOptions with Kind=Utc.
Gets whether this DateTime consists of a Date only.
Gets the DateTimeKind (Local, Unspecified or Utc).
Gets the external representation.
Represents how duplicate names should be handled.
Overwrite original value with new value.
Ignore duplicate name and keep original value.
Throw an exception.
Represents options used by the BsonTypeMapper.
Initializes a new instance of the BsonTypeMapperOptions class.
Clones the BsonTypeMapperOptions.
The cloned BsonTypeMapperOptions.
Freezes the BsonTypeMapperOptions.
The frozen BsonTypeMapperOptions.
Gets or sets the default BsonTypeMapperOptions.
Gets or sets how duplicate names should be handled.
Gets whether the BsonTypeMapperOptions is frozen.
Gets or sets the type that a BsonArray should be mapped to.
Gets or sets the type that a BsonDocument should be mapped to.
Gets or sets whether binary sub type OldBinary should be mapped to byte[] the way sub type Binary is.
Represents an ObjectId (see also BsonObjectId).
Initializes a new instance of the ObjectId class.
The bytes.
Initializes a new instance of the ObjectId class.
The timestamp (expressed as a DateTime).
The machine hash.
The PID.
The increment.
Initializes a new instance of the ObjectId class.
The timestamp.
The machine hash.
The PID.
The increment.
Initializes a new instance of the ObjectId class.
The value.
Compares two ObjectIds.
The first ObjectId.
The other ObjectId
True if the first ObjectId is less than the second ObjectId.
Compares two ObjectIds.
The first ObjectId.
The other ObjectId
True if the first ObjectId is less than or equal to the second ObjectId.
Compares two ObjectIds.
The first ObjectId.
The other ObjectId.
True if the two ObjectIds are equal.
Compares two ObjectIds.
The first ObjectId.
The other ObjectId.
True if the two ObjectIds are not equal.
Compares two ObjectIds.
The first ObjectId.
The other ObjectId
True if the first ObjectId is greather than or equal to the second ObjectId.
Compares two ObjectIds.
The first ObjectId.
The other ObjectId
True if the first ObjectId is greather than the second ObjectId.
Generates a new ObjectId with a unique value.
An ObjectId.
Generates a new ObjectId with a unique value (with the timestamp component based on a given DateTime).
The timestamp component (expressed as a DateTime).
An ObjectId.
Generates a new ObjectId with a unique value (with the given timestamp).
The timestamp component.
An ObjectId.
Packs the components of an ObjectId into a byte array.
The timestamp.
The machine hash.
The PID.
The increment.
A byte array.
Parses a string and creates a new ObjectId.
The string value.
A ObjectId.
Tries to parse a string and create a new ObjectId.
The string value.
The new ObjectId.
True if the string was parsed successfully.
Unpacks a byte array into the components of an ObjectId.
A byte array.
The timestamp.
The machine hash.
The PID.
The increment.
Compares this ObjectId to another ObjectId.
The other ObjectId.
A 32-bit signed integer that indicates whether this ObjectId is less than, equal to, or greather than the other.
Compares this ObjectId to another ObjectId.
The other ObjectId.
True if the two ObjectIds are equal.
Compares this ObjectId to another object.
The other object.
True if the other object is an ObjectId and equal to this one.
Gets the hash code.
The hash code.
Converts the ObjectId to a byte array.
A byte array.
Returns a string representation of the value.
A string representation of the value.
Gets an instance of ObjectId where the value is empty.
Gets the timestamp.
Gets the machine.
Gets the PID.
Gets the increment.
Gets the creation time (derived from the timestamp).
Represents a BSON DateTime value.
Initializes a new instance of the BsonDateTime class.
A DateTime.
Initializes a new instance of the BsonDateTime class.
Milliseconds since Unix Epoch.
Converts a DateTime to a BsonDateTime.
A DateTime.
A BsonDateTime.
Compares two BsonDateTime values.
The first BsonDateTime.
The other BsonDateTime.
True if the two BsonDateTime values are not equal according to ==.
Compares two BsonDateTime values.
The first BsonDateTime.
The other BsonDateTime.
True if the two BsonDateTime values are equal according to ==.
Creates a new BsonDateTime.
A DateTime.
A BsonDateTime.
Creates a new BsonDateTime.
A DateTime.
Milliseconds since Unix Epoch.
Creates a new BsonDateTime.
An object to be mapped to a BsonDateTime.
A BsonDateTime or null.
Compares this BsonDateTime to another BsonDateTime.
The other BsonDateTime.
A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other.
Compares the BsonDateTime to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonDateTime is less than, equal to, or greather than the other BsonValue.
Compares this BsonDateTime to another BsonDateTime.
The other BsonDateTime.
True if the two BsonDateTime values are equal.
Compares this BsonDateTime to another object.
The other object.
True if the other object is a BsonDateTime and equal to this one.
Gets the hash code.
The hash code.
Converts the BsonDateTime value to a .NET DateTime value in the local timezone.
A DateTime in the local timezone.
Converts the BsonDateTime value to a .NET DateTime value in UTC.
A DateTime in UTC.
Returns a string representation of the value.
A string representation of the value.
Gets whether this BsonDateTime is a valid .NET DateTime.
Gets the number of milliseconds since the Unix Epoch.
Gets the number of milliseconds since the Unix Epoch.
Gets the DateTime value.
Specifies the known types for this class (the derived classes).
Initializes a new instance of the BsonKnownTypesAttribute class.
One or more known types.
Initializes a new instance of the BsonKnownTypesAttribute class.
A known types.
Gets a list of the known types.
Represents the information needed to serialize a member.
Initializes a new instance of the BsonSerializationInfo class.
The element name.
The serializer.
The nominal type.
The serialization options.
Gets or sets the dotted element name.
Gets or sets the serializer.
Gets or sets the nominal type.
Gets or sets the serialization options.
Represents settings for a BsonBinaryReader.
Initializes a new instance of the BsonBinaryReaderSettings class.
Initializes a new instance of the BsonBinaryReaderSettings class.
Whether to close the input stream when the reader is closed.
Whether to fix occurrences of the old binary subtype on input.
Whether to fix occurrences of the old representation of DateTime.MaxValue on input.
The representation for Guids.
The max document size.
Creates a clone of the settings.
A clone of the settings.
Creates a clone of the settings.
A clone of the settings.
Gets or sets the default settings for a BsonBinaryReader.
Gets or sets whether to close the input stream when the reader is closed.
Gets or sets whether to fix occurrences of the old binary subtype on input.
Gets or sets whether to fix occurrences of the old representation of DateTime.MaxValue on input.
Gets or sets the max document size.
Represents a serializer for objects.
Initializes a new instance of the ObjectSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The serialization options.
An object.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the default serialization options for this serializer.
The default serialization options for this serializer.
Gets the document Id.
The document.
The Id.
The nominal type of the Id.
The IdGenerator for the Id type.
True if the document has an Id.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Gets the serialization info for a member.
The member name.
The serialization info for the member.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Sets the document Id.
The document.
The Id.
Gets an instance of the ObjectSerializer class.
Represents a serializer for enumerable values.
The type of the elements.
Initializes a new instance of the EnumerableSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Represents a serializer for Queues.
The type of the elements.
Initializes a new instance of the QueueSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Represents a serializer for Stacks.
The type of the elements.
Initializes a new instance of the StackSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Represents a serialize default value convention.
Determines whether to serialize the default value for a member.
The member.
Whether to serialize the default value.
Represents a serialize default value convention where default values are never serialized.
Determines whether to serialize the default value for a member.
The member.
Whether to serialize the default value.
Represents a serialize default value convention where default values are always serialized.
Determines whether to serialize the default value for a member.
The member.
Whether to serialize the default value.
Creates a clone of the context.
A clone of the context.
Represents a bookmark that can be used to return a reader to the current position and state.
Represents a bookmark that can be used to return a reader to the current position and state.
Initializes a new instance of the BsonReaderBookmark class.
The state of the reader.
The current BSON type.
The name of the current element.
Gets the current state of the reader.
Gets the current BsonType;
Gets the name of the current element.
Represents a truncation exception.
Initializes a new instance of the TruncationException class.
Initializes a new instance of the TruncationException class.
The error message.
Initializes a new instance of the TruncationException class.
The error message.
The inner exception.
Initializes a new instance of the TruncationException class (this overload used by deserialization).
The SerializationInfo.
The StreamingContext.
A static class containing methods to convert to and from Guids and byte arrays in various byte orders.
Converts a byte array to a Guid.
The byte array.
The representation of the Guid in the byte array.
A Guid.
Converts a Guid to a byte array.
The Guid.
The representation of the Guid in the byte array.
A byte array.
Represents a serializer for BsonArrays.
Initializes a new instance of the BsonArraySerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonArraySerializer class.
Represents a serializer for BsonBinaryDatas.
Initializes a new instance of the BsonBinaryDataSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonBinaryDataSerializer class.
Represents a serializer for BsonBooleans.
Initializes a new instance of the BsonBooleanSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonBooleanSerializer class.
Represents a serializer for BsonDateTimes.
Initializes a new instance of the BsonDateTimeSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonDateTimeSerializer class.
Represents a serializer for BsonDocuments.
Initializes a new instance of the BsonDocumentSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the document Id.
The document.
The Id.
The nominal type of the Id.
The IdGenerator for the Id type.
True if the document has an Id.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Sets the document Id.
The document.
The Id.
Gets an instance of the BsonDocumentSerializer class.
Represents a serializer for BsonDocumentWrappers.
Initializes a new instance of the BsonDocumentWrapperSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonDocumentWrapperSerializer class.
Represents a serializer for BsonDoubles.
Initializes a new instance of the BsonDoubleSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonDoubleSerializer class.
Represents a serializer for BsonInt32s.
Initializes a new instance of the BsonInt32Serializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonInt32Serializer class.
Represents a serializer for BsonInt64s.
Initializes a new instance of the BsonInt64Serializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonInt64Serializer class.
Represents a serializer for BsonJavaScripts.
Initializes a new instance of the BsonJavaScriptSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonJavaScriptSerializer class.
Represents a serializer for BsonJavaScriptWithScopes.
Initializes a new instance of the BsonJavaScriptWithScopeSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonJavaScriptWithScopeSerializer class.
Represents a serializer for BsonMaxKeys.
Initializes a new instance of the BsonMaxKeySerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonMaxKeySerializer class.
Represents a serializer for BsonMinKeys.
Initializes a new instance of the BsonMinKeySerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonMinKeySerializer class.
Represents a serializer for BsonNulls.
Initializes a new instance of the BsonNullSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonNullSerializer class.
Represents a serializer for BsonObjectIds.
Initializes a new instance of the BsonObjectIdSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonObjectIdSerializer class.
Represents a serializer for BsonRegularExpressions.
Initializes a new instance of the BsonRegularExpressionSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonRegularExpressionSerializer class.
Represents a serializer for BsonStrings.
Initializes a new instance of the BsonStringSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonStringSerializer class.
Represents a serializer for BsonSymbols.
Initializes a new instance of the BsonSymbolSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonSymbolSerializer class.
Represents a serializer for BsonTimestamps.
Initializes a new instance of the BsonTimestampSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonTimestampSerializer class.
Represents a serializer for BsonUndefineds.
Initializes a new instance of the BsonUndefinedSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonUndefinedSerializer class.
Represents a serializer for BsonValues.
Initializes a new instance of the BsonValueSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BsonValueSerializer class.
Represents the state of a BsonWriter.
The initial state.
The writer is positioned to write a name.
The writer is positioned to write a value.
The writer is positioned to write a scope document (call WriteStartDocument to start writing the scope document).
The writer is done.
The writer is closed.
Represents settings for a BsonBinaryWriter.
Initializes a new instance of the BsonBinaryWriterSettings class.
Initializes a new instance of the BsonBinaryWriterSettings class.
Whether to close the output stream when the writer is closed.
Whether to fix old binary data subtype on output.
The representation for Guids.
The max document size.
Creates a clone of the settings.
A clone of the settings.
Creates a clone of the settings.
A clone of the settings.
Gets or sets the default BsonBinaryWriter settings.
Gets or sets whether to close the output when the writer is closed.
Gets or sets whether to fix the old binary data subtype on output.
Gets or sets the max document size.
A static class containing BSON utility methods.
Gets a friendly class name suitable for use in error messages.
The type.
A friendly class name.
Parses a hex string into its equivalent byte array.
The hex string to parse.
The byte equivalent of the hex string.
Converts from number of milliseconds since Unix epoch to DateTime.
The number of milliseconds since Unix epoch.
A DateTime.
Converts a byte array to a hex string.
The byte array.
A hex string.
Converts a DateTime to local time (with special handling for MinValue and MaxValue).
A DateTime.
The DateTime in local time.
Converts a DateTime to number of milliseconds since Unix epoch.
A DateTime.
Number of seconds since Unix epoch.
Converts a DateTime to UTC (with special handling for MinValue and MaxValue).
A DateTime.
The DateTime in UTC.
Tries to parse a hex string to a byte array.
The hex string.
A byte array.
True if the hex string was successfully parsed.
Represents a BsonDocument wrapper.
Initializes a new instance of the BsonDocumentWrapper class.
The wrapped object.
Initializes a new instance of the BsonDocumentWrapper class.
The nominal type of the wrapped object.
The wrapped object.
Initializes a new instance of the BsonDocumentWrapper class.
The nominal type of the wrapped object.
The wrapped object.
Whether the wrapped object is an update document that needs to be checked.
Creates a new instance of the BsonDocumentWrapper class.
The nominal type of the wrapped object.
The wrapped object.
A BsonDocumentWrapper or null.
Creates a new instance of the BsonDocumentWrapper class.
The nominal type of the wrapped object.
The wrapped object.
Whether the wrapped object is an update document.
A BsonDocumentWrapper or null.
Creates a new instance of the BsonDocumentWrapper class.
The nominal type of the wrapped object.
The wrapped object.
A BsonDocumentWrapper or null.
Creates a new instance of the BsonDocumentWrapper class.
The nominal type of the wrapped object.
The wrapped object.
Whether the wrapped object is an update document.
A BsonDocumentWrapper or null.
Creates a list of new instances of the BsonDocumentWrapper class.
The nominal type of the wrapped objects.
A list of wrapped objects.
A list of BsonDocumentWrappers or null.
Creates a list of new instances of the BsonDocumentWrapper class.
The nominal type of the wrapped object.
A list of wrapped objects.
A list of BsonDocumentWrappers or null.
CompareTo is an invalid operation for BsonDocumentWrapper.
Not applicable.
Not applicable.
Deserialize is an invalid operation for BsonDocumentWrapper.
Not applicable.
Not applicable.
Not applicable.
Not applicable.
GetDocumentId is an invalid operation for BsonDocumentWrapper.
Not applicable.
Not applicable.
Not applicable.
Not applicable.
Equals is an invalid operation for BsonDocumentWrapper.
Not applicable.
Not applicable.
GetHashCode is an invalid operation for BsonDocumentWrapper.
Not applicable.
Serializes the wrapped object to a BsonWriter.
The writer.
The nominal type (overridded by the wrapped nominal type).
The serialization options.
SetDocumentId is an invalid operation for BsonDocumentWrapper.
Not applicable.
Returns a string representation of the wrapped document.
A string representation of the wrapped document.
Specifies the default value for a field or property.
Initializes a new instance of the BsonDefaultValueAttribute class.
The default value.
Gets the default value.
Gets or sets whether to serialize the default value.
Gets whether SerializeDefaultValue was set.
Represents an element name convention.
Gets the element name for a member.
The member.
The element name.
Represents an element name convention where the element name is the same as the member name.
Gets the element name for a member.
The member.
The element name.
Represents an element name convention where the element name is the member name with the first character lower cased.
Gets the element name for a member.
The member.
The element name.
Represents a discriminator convention.
Gets the actual type of an object by reading the discriminator from a BsonReader.
The reader.
The nominal type.
The actual type.
Gets the discriminator value for an actual type.
The nominal type.
The actual type.
The discriminator value.
Gets the discriminator element name.
Represents the standard discriminator conventions (see ScalarDiscriminatorConvention and HierarchicalDiscriminatorConvention).
Initializes a new instance of the StandardDiscriminatorConvention class.
The element name.
Gets the actual type of an object by reading the discriminator from a BsonReader.
The reader.
The nominal type.
The actual type.
Gets the discriminator value for an actual type.
The nominal type.
The actual type.
The discriminator value.
Gets an instance of the ScalarDiscriminatorConvention.
Gets an instance of the HierarchicalDiscriminatorConvention.
Gets the discriminator element name.
Represents a discriminator convention where the discriminator is provided by the class map of the actual type.
Initializes a new instance of the ScalarDiscriminatorConvention class.
The element name.
Gets the discriminator value for an actual type.
The nominal type.
The actual type.
The discriminator value.
Represents a discriminator convention where the discriminator is an array of all the discriminators provided by the class maps of the root class down to the actual type.
Initializes a new instance of the HierarchicalDiscriminatorConvention class.
The element name.
Gets the discriminator value for an actual type.
The nominal type.
The actual type.
The discriminator value.
Represents a bookmark that can be used to return a reader to the current position and state.
A static class containing BSON extension methods.
Converts an object to a BSON document byte array.
The nominal type of the object.
The object.
A byte array.
Converts an object to a BSON document byte array.
The nominal type of the object.
The object.
The serialization options.
A byte array.
Converts an object to a BSON document byte array.
The nominal type of the object.
The object.
The serialization options.
The BsonBinaryWriter settings.
A byte array.
Converts an object to a BSON document byte array.
The nominal type of the object.
The object.
The BsonBinaryWriter settings.
A byte array.
Converts an object to a BSON document byte array.
The object.
The nominal type of the object.
A byte array.
Converts an object to a BSON document byte array.
The object.
The nominal type of the object.
The serialization options.
A byte array.
Converts an object to a BSON document byte array.
The object.
The nominal type of the object.
The serialization options.
The BsonBinaryWriter settings.
A byte array.
Converts an object to a BSON document byte array.
The object.
The nominal type of the object.
The BsonBinaryWriter settings.
A byte array.
Converts an object to a BsonDocument.
The nominal type of the object.
The object.
A BsonDocument.
Converts an object to a BsonDocument.
The nominal type of the object.
The object.
The serialization options.
A BsonDocument.
Converts an object to a BsonDocument.
The object.
The nominal type of the object.
A BsonDocument.
Converts an object to a BsonDocument.
The object.
The nominal type of the object.
The serialization options.
A BsonDocument.
Converts an object to a JSON string.
The nominal type of the object.
The object.
A JSON string.
Converts an object to a JSON string.
The nominal type of the object.
The object.
The serialization options.
A JSON string.
Converts an object to a JSON string.
The nominal type of the object.
The object.
The serialization options.
The JsonWriter settings.
A JSON string.
Converts an object to a JSON string.
The nominal type of the object.
The object.
The JsonWriter settings.
A JSON string.
Converts an object to a JSON string.
The object.
The nominal type of the object.
A JSON string.
Converts an object to a JSON string.
The object.
The nominal type of the object.
The serialization options.
A JSON string.
Converts an object to a JSON string.
The object.
The nominal type of the object.
The serialization options.
The JsonWriter settings.
A JSON string.
Converts an object to a JSON string.
The object.
The nominal type of the object.
The JsonWriter settings.
A JSON string.
Represents the symbol table of BsonSymbols.
Looks up a symbol (and creates a new one if necessary).
The name of the symbol.
The symbol.
Represents the type of a BSON element.
Not a real BSON type. Used to signal the end of a document.
A BSON double.
A BSON string.
A BSON document.
A BSON array.
BSON binary data.
A BSON undefined value.
A BSON ObjectId.
A BSON bool.
A BSON DateTime.
A BSON null value.
A BSON regular expression.
BSON JavaScript code.
A BSON symbol.
BSON JavaScript code with a scope (a set of variables with values).
A BSON 32-bit integer.
A BSON timestamp.
A BSON 64-bit integer.
A BSON MinKey value.
A BSON MaxKey value.
Represents the output mode of a JsonWriter.
Output strict JSON.
Use JavaScript data types for some values.
Use JavaScript and 10gen data types for some values.
Use a format that can be pasted in to the MongoDB shell.
Indicates whether a field or property equal to null should be ignored when serializing this class.
Initializes a new instance of the BsonIgnoreIfNullAttribute class.
Initializes a new instance of the BsonIgnoreIfNullAttribute class.
Whether a field or property equal to null should be ignored when serializing this class.
Gets whether a field or property equal to null should be ignored when serializing this class.
Represents a serializer for dictionaries.
The type of the keys.
The type of the values.
Initializes a new instance of the DictionarySerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Represents serialization options for a TimeSpan value.
Initializes a new instance of the TimeSpanSerializationOptions class.
The representation for serialized TimeSpans.
Initializes a new instance of the TimeSpanSerializationOptions class.
The representation for serialized TimeSpans.
The units for serialized TimeSpans.
Apply an attribute to these serialization options and modify the options accordingly.
The serializer that these serialization options are for.
The serialization options attribute.
Clones the serialization options.
A cloned copy of the serialization options.
Gets the representation for serialized TimeSpans.
Gets the units for serialized TimeSpans.
Used by BsonReaders and BsonWriters to represent the current context.
The top level of a BSON document.
A (possibly embedded) BSON document.
A BSON array.
A JavaScriptWithScope BSON value.
The scope document of a JavaScriptWithScope BSON value.
Represents the external representation of a field or property.
Initializes a new instance of the RepresentationSerializationOptions class.
The external representation.
Initializes a new instance of the RepresentationSerializationOptions class.
The external representation.
Whether to allow overflow.
Whether to allow truncation.
Apply an attribute to these serialization options and modify the options accordingly.
The serializer that these serialization options are for.
The serialization options attribute.
Clones the serialization options.
A cloned copy of the serialization options.
Converts a Double to a Decimal.
A Double.
A Decimal.
Converts an Int32 to a Decimal.
An Int32.
A Decimal.
Converts an Int64 to a Decimal.
An Int64.
A Decimal.
Converts a Decimal to a Double.
A Decimal.
A Double.
Converts a Double to a Double.
A Double.
A Double.
Converts a Single to a Double.
A Single.
A Double.
Converts an Int32 to a Double.
An Int32.
A Double.
Converts an Int64 to a Double.
An Int64.
A Double.
Converts an Int16 to a Double.
An Int16.
A Double.
Converts a UInt32 to a Double.
A UInt32.
A Double.
Converts a UInt64 to a Double.
A UInt64.
A Double.
Converts a UInt16 to a Double.
A UInt16.
A Double.
Converts a Double to an Int16.
A Double.
An Int16.
Converts an Int32 to an Int16.
An Int32.
An Int16.
Converts an Int64 to an Int16.
An Int64.
An Int16.
Converts a Decimal to an Int32.
A Decimal.
An Int32.
Converts a Double to an Int32.
A Double.
An Int32.
Converts a Single to an Int32.
A Single.
An Int32.
Converts an Int32 to an Int32.
An Int32.
An Int32.
Converts an Int64 to an Int32.
An Int64.
An Int32.
Converts an Int16 to an Int32.
An Int16.
An Int32.
Converts a UInt32 to an Int32.
A UInt32.
An Int32.
Converts a UInt64 to an Int32.
A UInt64.
An Int32.
Converts a UInt16 to an Int32.
A UInt16.
An Int32.
Converts a Decimal to an Int64.
A Decimal.
An Int64.
Converts a Double to an Int64.
A Double.
An Int64.
Converts a Single to an Int64.
A Single.
An Int64.
Converts an Int32 to an Int64.
An Int32.
An Int64.
Converts an Int64 to an Int64.
An Int64.
An Int64.
Converts an Int16 to an Int64.
An Int16.
An Int64.
Converts a UInt32 to an Int64.
A UInt32.
An Int64.
Converts a UInt64 to an Int64.
A UInt64.
An Int64.
Converts a UInt16 to an Int64.
A UInt16.
An Int64.
Converts a Double to a Single.
A Double.
A Single.
Converts an Int32 to a Single.
An Int32.
A Single.
Converts an Int64 to a Single.
An Int64.
A Single.
Converts a Double to a UInt16.
A Double.
A UInt16.
Converts an Int32 to a UInt16.
An Int32.
A UInt16.
Converts an Int64 to a UInt16.
An Int64.
A UInt16.
Converts a Double to a UInt32.
A Double.
A UInt32.
Converts an Int32 to a UInt32.
An Int32.
A UInt32.
Converts an Int64 to a UInt32.
An Int64.
A UInt32.
Converts a Double to a UInt64.
A Double.
A UInt64.
Converts an Int32 to a UInt64.
An Int32.
A UInt64.
Converts an Int64 to a UInt64.
An Int64.
A UInt64.
Gets the external representation.
Gets whether to allow overflow.
Gets whether to allow truncation.
Represents the representation to use for dictionaries.
Represent the dictionary as a document if the keys are strings and valid element names, otherwise as an array of arrays.
Represent the dictionary as a Document.
Represent the dictionary as an array of arrays.
Represent the dictionary as an array of documents.
Represents serialization options for a Dictionary value.
Initializes a new instance of the DictionarySerializationOptions class.
Initializes a new instance of the DictionarySerializationOptions class.
The representation to use for a Dictionary.
Initializes a new instance of the DictionarySerializationOptions class.
The representation to use for a Dictionary.
The serialization options for the items in the dictionary.
Apply an attribute to these serialization options and modify the options accordingly.
The serializer that these serialization options are for.
The serialization options attribute.
Clones the serialization options.
A cloned copy of the serialization options.
Freezes the serialization options.
The frozen serialization options.
Gets an instance of DictionarySerializationOptions with Representation=ArrayOfArrays.
Gets an instance of DictionarySerializationOptions with Representation=ArrayOfDocuments.
Gets or sets the default Dictionary serialization options.
Gets an instance of DictionarySerializationOptions with Representation=Document.
Gets an instance of DictionarySerializationOptions with Representation=Dynamic.
Gets the representation to use for a Dictionary.
Gets or sets the serialization options for the items in the dictionary.
Represents a BSON ObjectId value (see also ObjectId).
Initializes a new instance of the BsonObjectId class.
The value.
Initializes a new instance of the BsonObjectId class.
The bytes.
Initializes a new instance of the BsonObjectId class.
The timestamp (expressed as a DateTime).
The machine hash.
The PID.
The increment.
Initializes a new instance of the BsonObjectId class.
The timestamp.
The machine hash.
The PID.
The increment.
Initializes a new instance of the BsonObjectId class.
The value.
Converts an ObjectId to a BsonObjectId.
An ObjectId.
A BsonObjectId.
Compares two BsonObjectId values.
The first BsonObjectId.
The other BsonObjectId.
True if the two BsonObjectId values are not equal according to ==.
Compares two BsonObjectId values.
The first BsonObjectId.
The other BsonObjectId.
True if the two BsonObjectId values are equal according to ==.
Creates a new instance of the BsonObjectId class.
An ObjectId.
A BsonObjectId.
Creates a new instance of the BsonObjectId class.
A byte array.
A BsonObjectId.
Creates a new instance of the BsonObjectId class.
The timestamp.
The machine hash.
The pid.
The increment.
A BsonObjectId.
Creates a new BsonObjectId.
An object to be mapped to a BsonObjectId.
A BsonObjectId or null.
Creates a new instance of the BsonObjectId class.
A string.
A BsonObjectId.
Generates a new BsonObjectId with a unique value.
A BsonObjectId.
Generates a new BsonObjectId with a unique value (with the timestamp component based on a given DateTime).
The timestamp component (expressed as a DateTime).
A BsonObjectId.
Generates a new BsonObjectId with a unique value (with the given timestamp).
The timestamp component.
A BsonObjectId.
Parses a string and creates a new BsonObjectId.
The string value.
A BsonObjectId.
Tries to parse a string and create a new BsonObjectId.
The string value.
The new BsonObjectId.
True if the string was parsed successfully.
Compares this BsonObjectId to another BsonObjectId.
The other BsonObjectId.
A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other.
Compares the BsonObjectId to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonObjectId is less than, equal to, or greather than the other BsonValue.
Compares this BsonObjectId to another BsonObjectId.
The other BsonObjectId.
True if the two BsonObjectId values are equal.
Compares this BsonObjectId to another object.
The other object.
True if the other object is a BsonObjectId and equal to this one.
Gets the hash code.
The hash code.
Converts the BsonObjectId to a byte array.
A byte array.
Returns a string representation of the value.
A string representation of the value.
Gets an instance of BsonObjectId where the value is empty.
Gets the timestamp.
Gets the machine.
Gets the PID.
Gets the increment.
Gets the creation time (derived from the timestamp).
Gets the BsonObjectId as an ObjectId.
Gets the value of this BsonObjectId.
Represents a BSON timestamp value.
Initializes a new instance of the BsonTimestamp class.
The combined timestamp/increment value.
Initializes a new instance of the BsonTimestamp class.
The timestamp.
The increment.
Compares two BsonTimestamp values.
The first BsonTimestamp.
The other BsonTimestamp.
True if the two BsonTimestamp values are not equal according to ==.
Compares two BsonTimestamp values.
The first BsonTimestamp.
The other BsonTimestamp.
True if the two BsonTimestamp values are equal according to ==.
Creates a new instance of the BsonTimestamp class.
The combined timestamp/increment value.
A BsonTimestamp.
Creates a new instance of the BsonTimestamp class.
The timestamp.
The increment.
A BsonTimestamp.
Creates a new BsonTimestamp.
An object to be mapped to a BsonTimestamp.
A BsonTimestamp or null.
Compares this BsonTimestamp to another BsonTimestamp.
The other BsonTimestamp.
A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other.
Compares the BsonTimestamp to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonTimestamp is less than, equal to, or greather than the other BsonValue.
Compares this BsonTimestamp to another BsonTimestamp.
The other BsonTimestamp.
True if the two BsonTimestamp values are equal.
Compares this BsonTimestamp to another object.
The other object.
True if the other object is a BsonTimestamp and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Gets the value of this BsonTimestamp.
Gets the increment.
Gets the timestamp.
Represents BSON binary data.
Initializes a new instance of the BsonBinaryData class.
The binary data.
Initializes a new instance of the BsonBinaryData class.
The binary data.
The binary data subtype.
Initializes a new instance of the BsonBinaryData class.
The binary data.
The binary data subtype.
The representation for Guids.
Initializes a new instance of the BsonBinaryData class.
A Guid.
Initializes a new instance of the BsonBinaryData class.
A Guid.
The representation for Guids.
Converts a byte array to a BsonBinaryData.
A byte array.
A BsonBinaryData.
Converts a Guid to a BsonBinaryData.
A Guid.
A BsonBinaryData.
Compares two BsonBinaryData values.
The first BsonBinaryData.
The other BsonBinaryData.
True if the two BsonBinaryData values are not equal according to ==.
Compares two BsonBinaryData values.
The first BsonBinaryData.
The other BsonBinaryData.
True if the two BsonBinaryData values are equal according to ==.
Creates a new BsonBinaryData.
The binary data.
A BsonBinaryData or null.
Creates a new BsonBinaryData.
The binary data.
The binary data subtype.
A BsonBinaryData or null.
Creates a new BsonBinaryData.
The binary data.
The binary data subtype.
The representation for Guids.
A BsonBinaryData or null.
Creates a new BsonBinaryData.
A Guid.
A BsonBinaryData.
Creates a new BsonBinaryData.
A Guid.
The representation for Guids.
A BsonBinaryData.
Creates a new BsonBinaryData.
An object to be mapped to a BsonBinaryData.
A BsonBinaryData or null.
Compares this BsonBinaryData to another BsonBinaryData.
The other BsonBinaryData.
A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other.
Compares the BsonBinaryData to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonBinaryData is less than, equal to, or greather than the other BsonValue.
Compares this BsonBinaryData to another BsonBinaryData.
The other BsonBinaryData.
True if the two BsonBinaryData values are equal.
Compares this BsonBinaryData to another object.
The other object.
True if the other object is a BsonBinaryData and equal to this one.
Gets the hash code.
The hash code.
Converts this BsonBinaryData to a Guid.
A Guid.
Converts this BsonBinaryData to a Guid.
The representation for Guids.
A Guid.
Returns a string representation of the binary data.
A string representation of the binary data.
Gets the binary data.
Gets the representation to use when representing the Guid as BSON binary data.
Gets the BsonBinaryData as a Guid if the subtype is UuidStandard or UuidLegacy, otherwise null.
Gets the binary data subtype.
Represents a serializer for enumerable values.
Initializes a new instance of the EnumerableSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the EnumerableSerializer class.
Represents a serializer for Queues.
Initializes a new instance of the QueueSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the QueueSerializer class.
Represents a serializer for Stacks.
Initializes a new instance of the StackSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the StackSerializer class.
Represents the representation to use when converting a Guid to a BSON binary value.
The representation for Guids is unspecified, so conversion between Guids and Bson binary data is not possible.
Use the new standard representation for Guids (binary subtype 4 with bytes in network byte order).
Use the representation used by older versions of the C# driver (including most community provided C# drivers).
Use the representation used by older versions of the Java driver.
Use the representation used by older versions of the Python driver.
Represents a buffer for BSON encoded bytes.
Initializes a new instance of the BsonBuffer class.
Backpatches the length of an object.
The start position of the object.
The length of the object.
Clears the data in the buffer.
Copies data from the buffer to a byte array.
The source offset in the buffer.
The destination byte array.
The destination offset in the byte array.
The number of bytes to copy.
Disposes of any resources held by the buffer.
Loads the buffer from a Stream (the Stream must be positioned at a 4 byte length field).
The Stream.
Loads the buffer from a Stream (leaving the position in the buffer unchanged).
The stream.
The number of bytes to load.
Peeks at the next byte in the buffer and returns it as a BsonType.
A BsonType.
Peeks at the next byte in the buffer.
A Byte.
Reads a BSON Boolean from the buffer.
A Boolean.
Reads a BSON type from the buffer.
A BsonType.
Reads a byte from the buffer.
A Byte.
Reads bytes from the buffer.
The number of bytes to read.
A byte array.
Reads a BSON Double from the buffer.
A Double.
Reads a BSON Int32 from the reader.
An Int32.
Reads a BSON Int64 from the reader.
An Int64.
Reads a BSON ObjectId from the reader.
The timestamp.
The machine hash.
The PID.
The increment.
Reads a BSON string from the reader.
A String.
Reads a BSON CString from the reader (a null terminated string).
A String.
Skips over bytes in the buffer (advances the position).
The number of bytes to skip.
Skips over a CString in the buffer (advances the position).
Converts the buffer to a byte array.
A byte array.
Writes a BSON Boolean to the buffer.
The Boolean value.
Writes a byte to the buffer.
A byte.
Writes bytes to the buffer.
A byte array.
Writes a CString to the buffer.
A string.
Writes a BSON Double to the buffer.
The Double value.
Writes a BSON Int32 to the buffer.
The Int32 value.
Writes a BSON Int64 to the buffer.
The Int64 value.
Writes a BSON ObjectId to the buffer.
The timestamp.
The machine hash.
The PID.
The increment.
Writes a BSON String to the buffer.
The String value.
Writes all the data in the buffer to a Stream.
The Stream.
Writes a 32-bit zero the the buffer.
Gets or sets the max chunk pool size.
Gets or sets the length of the data in the buffer.
Gets or sets the current position in the buffer.
Represents the BSON MinKey value.
Compares two BsonMinKey values.
The first BsonMinKey.
The other BsonMinKey.
True if the two BsonMinKey values are not equal according to ==.
Compares two BsonMinKey values.
The first BsonMinKey.
The other BsonMinKey.
True if the two BsonMinKey values are equal according to ==.
Compares this BsonMinKey to another BsonMinKey.
The other BsonMinKey.
A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other.
Compares the BsonMinKey to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonMinKey is less than, equal to, or greather than the other BsonValue.
Compares this BsonMinKey to another BsonMinKey.
The other BsonMinKey.
True if the two BsonMinKey values are equal.
Compares this BsonMinKey to another object.
The other object.
True if the other object is a BsonMinKey and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Gets the singleton instance of BsonMinKey.
A static class containing BSON constants.
Gets the number of milliseconds since the Unix epoch for DateTime.MaxValue.
Gets the number of milliseconds since the Unix epoch for DateTime.MinValue.
Gets the Unix Epoch for BSON DateTimes (1970-01-01).
Represents an ignore extra elements convention.
Determines whether to ignore extra elements for a class.
The class.
Whether to ignore extra elements.
Represents an ignore extra elements convention where extra elements are never ignored.
Determines whether to ignore extra elements for a class.
The class.
Whether to ignore extra elements.
Represents an ignore extra elements convention where extra elements are always ignored.
Determines whether to ignore extra elements for a class.
The class.
Whether to ignore extra elements.
Represents an Id member convention.
Finds the Id member of a class.
The class.
The name of the Id member.
Represents an Id member convention where the Id member name is one of a set of possible Id member names.
Initializes a new instance of the NamedIdMemberConvention class.
A set of possible Id member names.
Finds the Id member of a class.
The class.
The name of the Id member.
Gets the set of possible Id member names.
Indicates that this property or field will be used to hold any extra elements found during deserialization.
Represents the default serialization provider.
An interface implemented by serialization providers.
Gets a serializer for a type.
The type.
A serializer.
Initializes a new instance of the BsonDefaultSerializer class.
Returns whether the given type has any discriminators registered for any of its subclasses.
A Type.
True if the type is discriminated.
Looks up the actual type of an object to be deserialized.
The nominal type of the object.
The discriminator.
The actual type of the object.
Looks up the discriminator convention for a type.
The type.
A discriminator convention.
Registers the discriminator for a type.
The type.
The discriminator.
Registers the discriminator convention for a type.
Type type.
The discriminator convention.
Gets the serializer for a type.
The type.
The serializer.
Gets an instance of the BsonDefaultSerializer class.
Represents a BSON boolean value.
Converts a bool to a BsonBoolean.
A bool.
A BsonBoolean.
Compares two BsonBoolean values.
The first BsonBoolean.
The other BsonBoolean.
True if the two BsonBoolean values are not equal according to ==.
Compares two BsonBoolean values.
The first BsonBoolean.
The other BsonBoolean.
True if the two BsonBoolean values are equal according to ==.
Returns one of the two possible BsonBoolean values.
The bool value.
The corresponding BsonBoolean value.
Returns one of the two possible BsonBoolean values.
An object to be mapped to a BsonBoolean.
A BsonBoolean or null.
Compares this BsonBoolean to another BsonBoolean.
The other BsonBoolean.
A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other.
Compares the BsonBoolean to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonBoolean is less than, equal to, or greather than the other BsonValue.
Compares this BsonBoolean to another BsonBoolean.
The other BsonBoolean.
True if the two BsonBoolean values are equal.
Compares this BsonBoolean to another object.
The other object.
True if the other object is a BsonBoolean and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Gets the instance of BsonBoolean that represents false.
Gets the instance of BsonBoolean that represents true.
Gets the BsonBoolean as a bool.
Gets the value of this BsonBoolean.
Specifies whether extra elements should be ignored when this class is deserialized.
Initializes a new instance of the BsonIgnoreExtraElementsAttribute class.
Initializes a new instance of the BsonIgnoreExtraElementsAttribute class.
Whether extra elements should be ignored when this class is deserialized.
Gets whether extra elements should be ignored when this class is deserialized.
Gets whether extra elements should also be ignored when any class derived from this one is deserialized.
An interface implemented by objects that convert themselves to a BsonDocument.
Converts this object to a BsonDocument.
A BsonDocument.
Represents a bookmark that can be used to return a reader to the current position and state.
Represents an Id generator convention.
Gets the Id generator for an Id member.
The member.
An Id generator.
Represents an Id generator convention where the Id generator is looked up based on the member type.
Gets the Id generator for an Id member.
The member.
An Id generator.
Represents a serializer for Booleans.
Initializes a new instance of the BooleanSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the BooleanSerializer class.
Represents a serializer for DateTimes.
Initializes a new instance of the DateTimeSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the DateTimeSerializer class.
Represents a serializer for Doubles.
Initializes a new instance of the DoubleSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the DoubleSerializer class.
Represents a serializer for Guids.
Initializes a new instance of the GuidSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the GuidSerializer class.
Represents a serializer for Int32.
Initializes a new instance of the Int32Serializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the Int32Serializer class.
Represents a serializer for Int64s.
Initializes a new instance of the Int64Serializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the Int64Serializer class.
Represents a serializer for ObjectIds.
Initializes a new instance of the ObjectIdSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the ObjectIdSerializer class.
Represents a serializer for Strings.
Initializes a new instance of the StringSerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the StringSerializer class.
Represents a serializer for one-dimensional arrays.
The type of the elements.
Initializes a new instance of the ArraySerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Represents a serializer for two-dimensional arrays.
The type of the elements.
Initializes a new instance of the TwoDimensionalArraySerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Represents a serializer for three-dimensional arrays.
The type of the elements.
Initializes a new instance of the ThreeDimensionalArraySerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Represents a BSON document.
Initializes a new instance of the BsonDocument class.
Initializes a new instance of the BsonDocument class specifying whether duplicate element names are allowed
(allowing duplicate element names is not recommended).
Whether duplicate element names are allowed.
Initializes a new instance of the BsonDocument class and adds one element.
An element to add to the document.
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
Initializes a new instance of the BsonDocument class and adds new elements from a dictionary of key/value pairs.
A dictionary to initialize the document from.
A list of keys to select values from the dictionary.
Initializes a new instance of the BsonDocument class and adds new elements from a list of elements.
A list of elements to add to the document.
Initializes a new instance of the BsonDocument class and adds one or more elements.
One or more elements to add to the document.
Initializes a new instance of the BsonDocument class and creates and adds a new element.
The name of the element to add to the document.
The value of the element to add to the document.
Compares two BsonDocument values.
The first BsonDocument.
The other BsonDocument.
True if the two BsonDocument values are not equal according to ==.
Compares two BsonDocument values.
The first BsonDocument.
The other BsonDocument.
True if the two BsonDocument values are equal according to ==.
Creates a new BsonDocument by mapping an object to a BsonDocument.
The object to be mapped to a BsonDocument.
A BsonDocument.
Parses a JSON string and returns a BsonDocument.
The JSON string.
A BsonDocument.
Reads a BsonDocument from a BsonBuffer.
The BsonBuffer.
A BsonDocument.
Reads a BsonDocument from a BsonReader.
The BsonReader.
A BsonDocument.
Reads a BsonDocument from a byte array.
The byte array.
A BsonDocument.
Reads a BsonDocument from a stream.
The stream.
A BsonDocument.
Reads a BsonDocument from a file.
The name of the file.
A BsonDocument.
Adds an element to the document.
The element to add.
The document (so method calls can be chained).
Adds elements to the document from a dictionary of key/value pairs.
The dictionary.
The document (so method calls can be chained).
Adds elements to the document from a dictionary of key/value pairs.
The dictionary.
Which keys of the hash table to add.
The document (so method calls can be chained).
Adds elements to the document from a dictionary of key/value pairs.
The dictionary.
The document (so method calls can be chained).
Adds elements to the document from a dictionary of key/value pairs.
The dictionary.
Which keys of the hash table to add.
The document (so method calls can be chained).
Adds elements to the document from a dictionary of key/value pairs.
The dictionary.
The document (so method calls can be chained).
Adds elements to the document from a dictionary of key/value pairs.
The dictionary.
Which keys of the hash table to add.
The document (so method calls can be chained).
Adds a list of elements to the document.
The list of elements.
The document (so method calls can be chained).
Adds a list of elements to the document.
The list of elements.
The document (so method calls can be chained).
Creates and adds an element to the document.
The name of the element.
The value of the element.
The document (so method calls can be chained).
Creates and adds an element to the document, but only if the condition is true.
The name of the element.
The value of the element.
Whether to add the element to the document.
The document (so method calls can be chained).
Clears the document (removes all elements).
Creates a shallow clone of the document (see also DeepClone).
A shallow clone of the document.
Compares this document to another document.
The other document.
A 32-bit signed integer that indicates whether this document is less than, equal to, or greather than the other.
Compares the BsonDocument to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonDocument is less than, equal to, or greather than the other BsonValue.
Tests whether the document contains an element with the specified name.
The name of the element to look for.
True if the document contains an element with the specified name.
Tests whether the document contains an element with the specified value.
The value of the element to look for.
True if the document contains an element with the specified value.
Creates a deep clone of the document (see also Clone).
A deep clone of the document.
Deserializes the document from a BsonReader.
The BsonReader.
The nominal type of the object (ignored, but should be BsonDocument).
The serialization options (ignored).
The document (which has now been initialized by deserialization), or null.
Gets the Id of the document.
The Id of the document (the RawValue if it has one, otherwise the element Value).
The nominal type of the Id.
The IdGenerator for the Id (or null).
True (a BsonDocument either has an Id member or one can be added).
Compares this document to another document.
The other document.
True if the two documents are equal.
Compares this BsonDocument to another object.
The other object.
True if the other object is a BsonDocument and equal to this one.
Gets an element of this document.
The zero based index of the element.
The element.
Gets an element of this document.
The name of the element.
A BsonElement.
Gets an enumerator that can be used to enumerate the elements of this document.
An enumerator.
Gets the hash code.
The hash code.
Gets the value of an element.
The zero based index of the element.
The value of the element.
Gets the value of an element.
The name of the element.
The value of the element.
Gets the value of an element or a default value if the element is not found.
The name of the element.
The default value returned if the element is not found.
The value of the element or the default value if the element is not found.
Inserts a new element at a specified position.
The position of the new element.
The element.
Merges another document into this one. Existing elements are not overwritten.
The other document.
The document (so method calls can be chained).
Merges another document into this one, specifying whether existing elements are overwritten.
The other document.
Whether to overwrite existing elements.
The document (so method calls can be chained).
Removes an element from this document (if duplicate element names are allowed
then all elements with this name will be removed).
The name of the element to remove.
Removes an element from this document.
The zero based index of the element to remove.
Removes an element from this document.
The element to remove.
Serializes this document to a BsonWriter.
The writer.
The nominalType.
The serialization options (can be null).
Sets the value of an element.
The zero based index of the element whose value is to be set.
The new value.
The document (so method calls can be chained).
Sets the value of an element (an element will be added if no element with this name is found).
The name of the element whose value is to be set.
The new value.
The document (so method calls can be chained).
Sets the document Id.
The value of the Id.
Sets an element of the document (replacing the existing element at that position).
The zero based index of the element to replace.
The new element.
The document.
Sets an element of the document (replaces any existing element with the same name or adds a new element if an element with the same name is not found).
The new element.
The document.
Converts the BsonDocument to a Dictionary<string, object>.
A dictionary.
Converts the BsonDocument to a Hashtable.
A hashtable.
Returns a string representation of the document.
A string representation of the document.
Tries to get an element of this document.
The name of the element.
The element.
True if an element with that name was found.
Tries to get the value of an element of this document.
The name of the element.
The value of the element.
True if an element with that name was found.
Writes the document to a BsonWriter.
The writer.
Writes the document to a BsonBuffer.
The buffer.
Writes the document to a Stream.
The stream.
Writes the document to a file.
The name of the file.
Gets or sets whether to allow duplicate names (allowing duplicate names is not recommended).
Gets the number of elements.
Gets the elements.
Gets the element names.
Gets the raw values (see BsonValue.RawValue).
Gets the values.
Gets or sets the value of an element.
The zero based index of the element.
The value of the element.
Gets the value of an element or a default value if the element is not found.
The name of the element.
The default value to return if the element is not found.
Teh value of the element or a default value if the element is not found.
Gets or sets the value of an element.
The name of the element.
The value of the element.
Represents the mapping between a field or property and a BSON element.
Initializes a new instance of the BsonMemberMap class.
The class map this member map belongs to.
The member info.
Applies the default value to the member of an object.
The object.
Gets the serializer.
The actual type of the member's value.
The member map.
Sets the default value.
The default value.
The member map.
Sets the default value.
The default value.
Whether the default value shoudl be serialized.
The member map.
Sets the name of the element.
The name of the element.
The member map.
Sets the Id generator.
The Id generator.
The member map.
Sets whether default values should be ignored when serialized.
Whether default values should be ignored when serialized.
The member map.
Sets whether null values should be ignored when serialized.
Wether null values should be ignored when serialized.
The member map.
Sets whether an element is required for this member when deserialized
Whether an element is required for this member when deserialized
The member map.
Sets the serialization order.
The serialization order.
The member map.
Sets the external representation.
The external representation.
The member map.
Sets the serialization options.
The serialization options.
The member map.
Sets the serializer.
The serializer.
The member map.
Sets whether the default value should be serialized.
Whether the default value should be serialized.
The member map.
Sets the method that will be called to determine whether the member should be serialized.
The method.
The member map.
Determines whether a value should be serialized
The object.
The value.
True if the value should be serialized.
Gets the class map that this member map belongs to.
Gets the name of the member.
Gets the type of the member.
Gets the name of the element.
Gets the serialization order.
Gets the member info.
Gets the getter function.
Gets the serialization options.
Gets the setter function.
Gets the Id generator.
Gets whether an element is required for this member when deserialized.
Gets whether the default value should be serialized.
Gets the method that will be called to determine whether the member should be serialized.
Gets whether default values should be ignored when serialized.
Gets whether null values should be ignored when serialized.
Gets the default value.
Gets whether the member is readonly.
Readonly indicates that the member is written to the database, but not read from the database.
Represents a serializer for dictionaries.
Initializes a new instance of the DictionarySerializer class.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Gets an instance of the DictionarySerializer class.
Represents an ignore if null convention.
Determines whether to ignore nulls for a member.
The member.
Whether to ignore nulls.
Represents an ignore if null convention where nulls are never ignored.
Determines whether to ignore nulls for a member.
The member.
Whether to ignore nulls.
Represents an ignore if null convention where nulls are always ignored.
Determines whether to ignore nulls for a member.
The member.
Whether to ignore nulls.
Creates a clone of the context.
A clone of the context.
Represents serialization options for an Array value.
Initializes a new instance of the ArraySerializationOptions class.
Initializes a new instance of the ArraySerializationOptions class.
The serialization options to use for items in the array.
Apply an attribute to these serialization options and modify the options accordingly.
The serializer that these serialization options are for.
The serialization options attribute.
Clones the serialization options.
A cloned copy of the serialization options.
Freezes the serialization options.
The frozen serialization options.
Gets or sets the serialization options for the items in the array.
Specifies the external representation and related options for this field or property.
Initializes a new instance of the BsonRepresentationAttribute class.
The external representation.
Gets the external representation.
Gets or sets whether to allow overflow.
Gets or sets whether to allow truncation.
A static class that maps between .NET objects and BsonValues.
Maps an object to an instance of the closest BsonValue class.
An object.
A BsonValue.
Maps an object to a specific BsonValue type.
An object.
The BsonType to map to.
A BsonValue of the desired type (or BsonNull.Value if value is null and bsonType is Null).
Maps a BsonValue to a .NET value using the default BsonTypeMapperOptions.
The BsonValue.
The mapped .NET value.
Maps a BsonValue to a .NET value.
The BsonValue.
The BsonTypeMapperOptions.
The mapped .NET value.
Registers a custom type mapper.
The type.
A custom type mapper.
Tries to map an object to an instance of the closest BsonValue class.
An object.
The BsonValue.
True if the mapping was successfull.
Compares this Mapping to another object.
The other object.
True if the other object is a Mapping and equal to this one.
Gets the hash code.
The hash code.
Represents a serializer for a class map.
Initializes a new instance of the BsonClassMapSerializer class.
The class map.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The serialization options.
An object.
Deserializes an object from a BsonReader.
The BsonReader.
The nominal type of the object.
The actual type of the object.
The serialization options.
An object.
Get the default serialization options for this serializer.
The default serialization options for this serializer.
Gets the document Id.
The document.
The Id.
The nominal type of the Id.
The IdGenerator for the Id type.
True if the document has an Id.
Gets the serialization info for individual items of an enumerable type.
The serialization info for the items.
Gets the serialization info for a member.
The member name.
The serialization info for the member.
Serializes an object to a BsonWriter.
The BsonWriter.
The nominal type.
The object.
The serialization options.
Sets the document Id.
The document.
The Id.
Represents a BSON serialization options convention.
Gets the BSON serialization options for a member.
The member.
The BSON serialization options for the member; or null to use defaults.
Represents BSON serialiation options that use default values.
Gets the BSON serialization options for a member.
The member.
The BSON serialization options for the member; or null to use defaults.
Sets serialization options for a member of a given type.
Initializes a new instance of the class.
The type of the member.
The BSON representation to use for this type.
Gets the BSON serialization options for a member.
The member.
The BSON serialization options for the member; or null to use defaults.
Represents the binary data subtype of a BsonBinaryData.
Binary data.
A function.
Obsolete binary data subtype (use Binary instead).
A UUID in a driver dependent legacy byte order.
A UUID in standard network byte order.
An MD5 hash.
User defined binary data.
Represents the state of a reader.
The initial state.
The reader is positioned at the type of an element or value.
The reader is positioned at the name of an element.
The reader is positioned at a value.
The reader is positioned at a scope document.
The reader is positioned at the end of a document.
The reader is positioned at the end of an array.
The reader has finished reading a document.
The reader is closed.
Represents the BSON Null value.
Compares two BsonNull values.
The first BsonNull.
The other BsonNull.
True if the two BsonNull values are not equal according to ==.
Compares two BsonNull values.
The first BsonNull.
The other BsonNull.
True if the two BsonNull values are equal according to ==.
Compares this BsonNull to another BsonNull.
The other BsonNull.
A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other.
Compares the BsonNull to another BsonValue.
The other BsonValue.
A 32-bit signed integer that indicates whether this BsonNull is less than, equal to, or greather than the other BsonValue.
Compares this BsonNull to another BsonNull.
The other BsonNull.
True if the two BsonNull values are equal.
Compares this BsonNull to another object.
The other object.
True if the other object is a BsonNull and equal to this one.
Gets the hash code.
The hash code.
Returns a string representation of the value.
A string representation of the value.
Gets the singleton instance of BsonNull.
A static helper class containing BSON defaults.
Gets or sets the default representation to be used in serialization of
Guids to the database.
Gets or sets the default max document size. The default is 4MiB.
Gets or sets the default max serialization depth (used to detect circular references during serialization). The default is 100.
Indicates that this field or property should be ignored when this class is serialized.