RepresentationConverter Class |
Namespace: MongoDB.Bson.Serialization.Options
The RepresentationConverter type exposes the following members.
Name | Description | |
---|---|---|
RepresentationConverter |
Initializes a new instance of the RepresentationConverter class.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToDecimal(Double) |
Converts a Double to a Decimal.
| |
ToDecimal(Int32) |
Converts an Int32 to a Decimal.
| |
ToDecimal(Int64) |
Converts an Int64 to a Decimal.
| |
ToDecimal(Decimal128) |
Converts a Decimal128 to a Decimal.
| |
ToDecimal128(Decimal) |
Converts a decimal to a Decimal128.
| |
ToDecimal128(Double) |
Converts a Double to a Decimal128.
| |
ToDecimal128(Int32) |
Converts an Int32 to a Decimal128.
| |
ToDecimal128(Int64) |
Converts an Int64 to a Decimal128.
| |
ToDecimal128(UInt64) |
Converts a UInt64 to a Decimal128.
| |
ToDouble(Decimal) |
Converts a Decimal to a Double.
| |
ToDouble(Double) |
Converts a Double to a Double.
| |
ToDouble(Int16) |
Converts an Int16 to a Double.
| |
ToDouble(Int32) |
Converts an Int32 to a Double.
| |
ToDouble(Int64) |
Converts an Int64 to a Double.
| |
ToDouble(Single) |
Converts a Single to a Double.
| |
ToDouble(UInt16) |
Converts a UInt16 to a Double.
| |
ToDouble(UInt32) |
Converts a UInt32 to a Double.
| |
ToDouble(UInt64) |
Converts a UInt64 to a Double.
| |
ToDouble(Decimal128) |
Converts a Decimal128 to a Double.
| |
ToInt16(Double) |
Converts a Double to an Int16.
| |
ToInt16(Int32) |
Converts an Int32 to an Int16.
| |
ToInt16(Int64) |
Converts an Int64 to an Int16.
| |
ToInt16(Decimal128) |
Converts a Decimal128 to an Int16.
| |
ToInt32(Decimal) |
Converts a Decimal to an Int32.
| |
ToInt32(Double) |
Converts a Double to an Int32.
| |
ToInt32(Int16) |
Converts an Int16 to an Int32.
| |
ToInt32(Int32) |
Converts an Int32 to an Int32.
| |
ToInt32(Int64) |
Converts an Int64 to an Int32.
| |
ToInt32(Single) |
Converts a Single to an Int32.
| |
ToInt32(UInt16) |
Converts a UInt16 to an Int32.
| |
ToInt32(UInt32) |
Converts a UInt32 to an Int32.
| |
ToInt32(UInt64) |
Converts a UInt64 to an Int32.
| |
ToInt32(Decimal128) |
Converts a Decimal128 to an Int32.
| |
ToInt64(Decimal) |
Converts a Decimal to an Int64.
| |
ToInt64(Double) |
Converts a Double to an Int64.
| |
ToInt64(Int16) |
Converts an Int16 to an Int64.
| |
ToInt64(Int32) |
Converts an Int32 to an Int64.
| |
ToInt64(Int64) |
Converts an Int64 to an Int64.
| |
ToInt64(Single) |
Converts a Single to an Int64.
| |
ToInt64(UInt16) |
Converts a UInt16 to an Int64.
| |
ToInt64(UInt32) |
Converts a UInt32 to an Int64.
| |
ToInt64(UInt64) |
Converts a UInt64 to an Int64.
| |
ToInt64(Decimal128) |
Converts a Decimal128 to an Int64.
| |
ToSingle(Double) |
Converts a Double to a Single.
| |
ToSingle(Int32) |
Converts an Int32 to a Single.
| |
ToSingle(Int64) |
Converts an Int64 to a Single.
| |
ToSingle(Decimal128) |
Converts a Decimal128 to a Single.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToUInt16(Double) |
Converts a Double to a UInt16.
| |
ToUInt16(Int32) |
Converts an Int32 to a UInt16.
| |
ToUInt16(Int64) |
Converts an Int64 to a UInt16.
| |
ToUInt16(Decimal128) |
Converts a Decimal128 to a UInt16.
| |
ToUInt32(Double) |
Converts a Double to a UInt32.
| |
ToUInt32(Int32) |
Converts an Int32 to a UInt32.
| |
ToUInt32(Int64) |
Converts an Int64 to a UInt32.
| |
ToUInt32(Decimal128) |
Converts a Decimal128 to a UInt32.
| |
ToUInt64(Double) |
Converts a Double to a UInt64.
| |
ToUInt64(Int32) |
Converts an Int32 to a UInt64.
| |
ToUInt64(Int64) |
Converts an Int64 to a UInt64.
| |
ToUInt64(Decimal128) |
Converts a Decimal128 to a UInt64.
|
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |
Name | Description | |
---|---|---|
AllowOverflow |
Gets whether to allow overflow.
| |
AllowTruncation |
Gets whether to allow truncation.
|