Class BsonDouble
Represents a BSON double value.
public class BsonDouble : BsonValue, IComparable<BsonValue>, IConvertible, IEquatable<BsonValue>, IComparable<BsonDouble>, IEquatable<BsonDouble>
- Inheritance
-
BsonDouble
- Implements
- Inherited Members
- Extension Methods
Constructors
- BsonDouble(double)
Initializes a new instance of the BsonDouble class.
Properties
- BsonType
Gets the BsonType of this BsonValue.
- Value
Gets the value of this BsonDouble.
Methods
- CompareTo(BsonDouble)
Compares this BsonDouble to another BsonDouble.
- CompareTo(BsonValue)
Compares this BsonValue to another BsonValue.
- Create(object)
Creates a new instance of the BsonDouble class.
- Equals(BsonDouble)
Compares this BsonDouble to another BsonDouble.
- Equals(object)
Compares this BsonValue to another object.
- GetHashCode()
Gets the hash code.
- IConvertibleGetTypeCodeImplementation()
Implementation of the IConvertible GetTypeCode method.
- IConvertibleToBooleanImplementation(IFormatProvider)
Implementation of the IConvertible ToBoolean method.
- IConvertibleToByteImplementation(IFormatProvider)
Implementation of the IConvertible ToByte method.
- IConvertibleToDecimalImplementation(IFormatProvider)
Implementation of the IConvertible ToDecimal method.
- IConvertibleToDoubleImplementation(IFormatProvider)
Implementation of the IConvertible ToDouble method.
- IConvertibleToInt16Implementation(IFormatProvider)
Implementation of the IConvertible ToInt16 method.
- IConvertibleToInt32Implementation(IFormatProvider)
Implementation of the IConvertible ToInt32 method.
- IConvertibleToInt64Implementation(IFormatProvider)
Implementation of the IConvertible ToInt64 method.
- IConvertibleToSByteImplementation(IFormatProvider)
Implementation of the IConvertible ToSByte method.
- IConvertibleToSingleImplementation(IFormatProvider)
Implementation of the IConvertible ToSingle method.
- IConvertibleToStringImplementation(IFormatProvider)
Implementation of the IConvertible ToString method.
- IConvertibleToUInt16Implementation(IFormatProvider)
Implementation of the IConvertible ToUInt16 method.
- IConvertibleToUInt32Implementation(IFormatProvider)
Implementation of the IConvertible ToUInt32 method.
- IConvertibleToUInt64Implementation(IFormatProvider)
Implementation of the IConvertible ToUInt64 method.
- OperatorEqualsImplementation(BsonValue)
Implementation of operator ==.
- ToBoolean()
Converts this BsonValue to a Boolean (using the JavaScript definition of truthiness).
- ToDecimal()
Converts this BsonValue to a Decimal.
- ToDecimal128()
Converts this BsonValue to a Decimal128.
- ToDouble()
Converts this BsonValue to a Double.
- ToInt32()
Converts this BsonValue to an Int32.
- ToInt64()
Converts this BsonValue to an Int64.
- ToString()
Returns a string that represents the current object.
Operators
- operator ==(BsonDouble, BsonDouble)
Compares two BsonDouble values.
- implicit operator BsonDouble(double)
Converts a double to a BsonDouble.
- operator !=(BsonDouble, BsonDouble)
Compares two BsonDouble values.