PageRenderTime 40ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

/Main/src/Xbap/DynamicDataDisplay.Xbap.Samples/Demos/v02/CurrencyExchange/CurrencyInfo.cs

#
C# | 24 lines | 12 code | 1 blank | 11 comment | 0 complexity | b9dc732d0d05b8acf1b5c37d4ffbcc98 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Microsoft.Research.DynamicDataDisplay.Samples.Demos.v02.CurrencyExchange
  6. {
  7. /// <summary>
  8. /// This is a auxiliary class to hold currencies exchange rate for one date
  9. /// </summary>
  10. public struct CurrencyInfo
  11. {
  12. /// <summary>
  13. /// Gets or sets the date for which currency exchange rate is given.
  14. /// </summary>
  15. /// <value>The date.</value>
  16. public DateTime Date { get; set; }
  17. /// <summary>
  18. /// Gets or sets the currency exchange rate.
  19. /// </summary>
  20. /// <value>The rate.</value>
  21. public double Rate { get; set; }
  22. }
  23. }