CurrencyCodeConverter - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki
Namespace: ConverterClassLibrary
Implements: ICurrencyCodeConverter
Description: Provides mappings between ISO three-letter currency codes (e.g. CAD, USD) to ISO two-letter country codes (e.g US, CA, CN).
Constructors | Usage |
---|---|
CurrencyCodeConverter(string) | Initializes an instance of CurrencyCodeConverter class with specified file path to country code records |
Methods | Usage |
---|---|
ToCurrencyCode(string) | convert from country code to currency code |
ToCountryCode(string) | convert from currency code to list of country codes |