Class BsonDecimal128
Represents a BSON Decimal128 value.
[Serializable]
public class BsonDecimal128 : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonDecimal128>, IEquatable<BsonDecimal128>
- Inheritance
-
Bson
Decimal128
- Implements
- Inherited Members
- Extension Methods
Constructors
- Bson
Decimal128(Decimal128) Initializes a new instance of the Bson
Decimal128 class.
Properties
- Bson
Type Gets the BsonType of this BsonValue.
- Raw
Value Gets the raw value of this BsonValue (or null if this BsonValue doesn't have a single scalar value).
- Value
Gets the value.
Methods
- Compare
To(Bson Decimal128) Compares this BsonDecimal128 to another BsonDecimal128.
- Compare
To(Bson Value) Compares this BsonValue to another BsonValue.
- Create(object)
Creates a new instance of the BsonDecimal128 class.
- Equals(Bson
Decimal128) Compares this BsonDecimal128 to another BsonDecimal128.
- Equals(object)
Compares this BsonValue to another object.
- Get
Hash Code() Gets the hash code.
- IConvertible
Get Type Code Implementation() Implementation of the IConvertible GetTypeCode method.
- IConvertible
ToBoolean Implementation(IFormat Provider) Implementation of the IConvertible ToBoolean method.
- IConvertible
ToByte Implementation(IFormat Provider) Implementation of the IConvertible ToByte method.
- IConvertible
ToDecimal Implementation(IFormat Provider) Implementation of the IConvertible ToDecimal method.
- IConvertible
ToDouble Implementation(IFormat Provider) Implementation of the IConvertible ToDouble method.
- IConvertible
ToInt16 Implementation(IFormat Provider) Implementation of the IConvertible ToInt16 method.
- IConvertible
ToInt32 Implementation(IFormat Provider) Implementation of the IConvertible ToInt32 method.
- IConvertible
ToInt64 Implementation(IFormat Provider) Implementation of the IConvertible ToInt64 method.
- IConvertible
ToSByte Implementation(IFormat Provider) Implementation of the IConvertible ToSByte method.
- IConvertible
ToSingle Implementation(IFormat Provider) Implementation of the IConvertible ToSingle method.
- IConvertible
ToString Implementation(IFormat Provider) Implementation of the IConvertible ToString method.
- IConvertible
ToUInt16 Implementation(IFormat Provider) Implementation of the IConvertible ToUInt16 method.
- IConvertible
ToUInt32 Implementation(IFormat Provider) Implementation of the IConvertible ToUInt32 method.
- IConvertible
ToUInt64 Implementation(IFormat Provider) Implementation of the IConvertible ToUInt64 method.
- Operator
Equals Implementation(Bson Value) Implementation of operator ==.
- To
Boolean() Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
- To
Decimal() Converts this BsonValue to a Decimal.
- To
Decimal128() Converts this BsonValue to a Decimal128.
- To
Double() Converts this BsonValue to a Double.
- To
Int32() Converts this BsonValue to an Int32.
- To
Int64() Converts this BsonValue to an Int64.
Operators
- operator ==(Bson
Decimal128, Bson Decimal128) Compares two BsonDecimal128 values.
- implicit operator Bson
Decimal128(Decimal128) Converts a Decimal128 to a BsonDecimal128.
- operator !=(Bson
Decimal128, Bson Decimal128) Compares two BsonDecimal128 values.