DoubleRange DoubleRange DoubleRange Class

Definition

Represents a data range based on the Double type.

public class DoubleRange : Microsoft.Health.ItemTypes.Range<double>
type DoubleRange = class
    inherit Range<double>
Public Class DoubleRange
Inherits Range(Of Double)
Inheritance

Remarks

A range consists of a minimum range value and a maximum range value of type Double

Constructors

DoubleRange() DoubleRange() DoubleRange()

Creates a new instance of the DoubleRange class with default values.

DoubleRange(Double, Double) DoubleRange(Double, Double) DoubleRange(Double, Double)

Constructs a new instance of the DoubleRange class with the specified minimum and maximum range values.

Properties

DefaultMaxValue DefaultMaxValue DefaultMaxValue

Gets the maximum range value to it's default value.

DefaultMinValue DefaultMinValue DefaultMinValue

Initializes the minimum range value to its default value.

MaxRange MaxRange MaxRange

Gets or sets the maximum value of the range.

(Inherited from Range<RangeType>)
MinRange MinRange MinRange

Gets or sets the minimum value of the range.

(Inherited from Range<RangeType>)

Methods

ParseXml(XPathNavigator) ParseXml(XPathNavigator) ParseXml(XPathNavigator)

Populates the data for the range from the XML.

(Inherited from Range<RangeType>)
ReadRangeValue(XPathNavigator) ReadRangeValue(XPathNavigator) ReadRangeValue(XPathNavigator)

Reads the value from the specified XPathNavigator as a Double.

ToString() ToString() ToString()

Returns the range as a string.

VerifyRangeValue(RangeType) VerifyRangeValue(RangeType) VerifyRangeValue(RangeType)

Verifies that the specified range value is an appropriate value for the range.

(Inherited from Range<RangeType>)
WriteRangeValue(String, Double, XmlWriter) WriteRangeValue(String, Double, XmlWriter) WriteRangeValue(String, Double, XmlWriter)

Writes the specified range value to the specified writer with the specified node name.

WriteRangeValue(String, RangeType, XmlWriter) WriteRangeValue(String, RangeType, XmlWriter) WriteRangeValue(String, RangeType, XmlWriter)

Writes the specified range value to the specified writer with the specified node name.

(Inherited from Range<RangeType>)
WriteXml(String, XmlWriter) WriteXml(String, XmlWriter) WriteXml(String, XmlWriter)

Writes the range data to the specified XML writer.

(Inherited from Range<RangeType>)

Applies to