public string GetLocationForList() { string result = Location; if (result != "") { result += " - "; } result += CountriesManager.GetNameFromCode(CountryCode); return(result); }
public string GetNameWithLocation() { string country = CountriesManager.GetNameFromCode(CountryCode); string result = DisplayName; if ((country != "") || (Location != "")) { result += " ("; if (country != "") { result += country; } if (Location != "") { if (country != "") { result += ", "; } result += Location; } result += ")"; } return(result); }
public string GetLocationForOrdering() { string result = CountriesManager.GetNameFromCode(CountryCode) + " - " + Location; return(result); }