Closed GoogleCodeExporter closed 8 years ago
Switch to:
get { if (mValues[(int)QuoteProperty.DaysHigh] != null) { return (double)mValues[(int)QuoteProperty.DaysHigh]; } else { return 0; } }
set { mValues[(int)QuoteProperty.DaysHigh] = value; }
Also DaysLow "suffers" from same problem, so boths props must be :
/// <summary>
/// Gets or sets the highest value of the day.
/// </summary>
/// <value></value>
/// <returns></returns>
/// <remarks></remarks>
public double DaysHigh
{
get { if (mValues[(int)QuoteProperty.DaysHigh] != null) { return (double)mValues[(int)QuoteProperty.DaysHigh]; } else { return 0; } }
set { mValues[(int)QuoteProperty.DaysHigh] = value; }
}
/// <summary>
/// Gets or sets the lowest price value of the day.
/// </summary>
/// <value></value>
/// <returns></returns>
/// <remarks></remarks>
public double DaysLow
{
get { if (mValues[(int)QuoteProperty.DaysLow] != null) { return (double)mValues[(int)QuoteProperty.DaysLow]; } else { return 0; } }
set { mValues[(int)QuoteProperty.DaysLow] = value; }
}
Original comment by r.guerra...@gmail.com
on 22 Apr 2012 at 8:37
Original comment by Maas...@gmail.com
on 30 Apr 2012 at 12:50
Original issue reported on code.google.com by
r.guerra...@gmail.com
on 22 Apr 2012 at 8:30