/// <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)); }
void ParseCurrency(string firstString, string secondString) { first = CurrencyParser.Parse <Currency>(firstString); second = CurrencyParser.Parse <Currency>(secondString); }