|
using System;
using System.Collections.Generic;
using System.Text;
namespace Cli.Lsp.Provider.CurrencyProvider {
public class CurrencyConversionItem {
Currency currency;
public Currency Currency {
get { return currency; }
set { currency = value; }
}
public string CurrencyName
{
get
{
return Currency.ToString();
}
}
DateTime lastUpdateTime;
public DateTime LastUpdateTime {
get { return lastUpdateTime; }
set { lastUpdateTime = value; }
}
double factor;
public double Factor {
get { return factor; }
set { factor = value; }
}
public virtual string PrintableName {
get {
return string.Format("{0},{1};{2}", CurrencyName,this.LastUpdateTime, Factor);
}
set {
throw new NotSupportedException("ID is read only to set the value ,You should, supply Currency, Last updated date and Factor");
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.