Пример #1
0
 /// <summary>
 /// Parse string name to CurrencyType
 /// </summary>
 /// <param name="name">String to parse.</param>
 /// <returns>Currency type.</returns>
 public static CurrencyType Parse(string name)
 {
     return(CurrencyParser.Parse <CurrencyType>(name));
 }
Пример #2
0
 void ParseCurrency(string firstString, string secondString)
 {
     first  = CurrencyParser.Parse <Currency>(firstString);
     second = CurrencyParser.Parse <Currency>(secondString);
 }