Пример #1
0
 /// <summary>
 /// Creates a category that has the same value for both minimum and maximum
 /// </summary>
 /// <param name="value">The value to use</param>
 public Category(double value)
 {
     _range = new Range(value);
 }
Пример #2
0
 /// <summary>
 /// Creaates a new instance of this category, and tailors the range to the specifeid values.
 /// </summary>
 /// <param name="startValue">The start value</param>
 /// <param name="endValue">The end value</param>
 public Category(double? startValue, double? endValue)
 {
     _range = new Range(startValue, endValue);
 }