コード例 #1
0
 public string SetPrice(string currencyName, int value)
 {
     if (forexProvider == null)
     {
         forexProvider = new ForexProvider();
     }
     return(forexProvider.SetPrice(currencyName, value));
 }
コード例 #2
0
 public string GetPrice(string currencyName)
 {
     if (forexProvider == null)
     {
         forexProvider = new ForexProvider();
     }
     return(forexProvider.GetPrice(currencyName));
 }
コード例 #3
0
 public string Request()
 {
     if (forexProvider == null)
     {
         forexProvider = new ForexProvider();
     }
     return(forexProvider.Request());
 }
コード例 #4
0
 public bool Authenticate(string pwd)
 {
     if (forexProvider == null)
     {
         forexProvider = new ForexProvider();
     }
     return(forexProvider.Authenticate(pwd));
 }