Interface ICountryNameResolver
- Namespace
- Lykke.Common.Abstractions
- Assembly
- Lykke.Common.dll
Interface for resolving country name.
public interface ICountryNameResolver
- Extension Methods
Methods
GetFullNameByCode(string)
Get country name by Iso3 or Iso2 country code
.
string GetFullNameByCode(string code)
Parameters
code
stringThree or two capital letter country code.
Returns
- string
Country name for given code.
Empty string if code is null, empty or invalid.
Examples
GetFullNameByCode("RUS");
GetFullNameByCode("RU");