From 0f0a94dc25142ceb3fcf51595c1f42d5b468f399 Mon Sep 17 00:00:00 2001 From: Revazashvili Date: Mon, 2 Dec 2024 23:03:26 +0400 Subject: [PATCH] fix xml docs in CountryHelper --- src/CountryData.Standard/CountryHelper.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/CountryData.Standard/CountryHelper.cs b/src/CountryData.Standard/CountryHelper.cs index 6dcb817..6684743 100644 --- a/src/CountryData.Standard/CountryHelper.cs +++ b/src/CountryData.Standard/CountryHelper.cs @@ -44,9 +44,9 @@ private string GetJsonData(string path) /// /// Returns All Country Data (Region, ShortCode, Country Name) - /// that can be querried by Lambda Expressions + /// that can be queried by Lambda Expressions /// - /// IEnumerable + /// a list of countries public virtual IEnumerable GetCountryData() { return _Countries; @@ -56,8 +56,8 @@ public virtual IEnumerable GetCountryData() /// /// Returns a single Country Data by ShortCode /// - /// - /// Country + /// a country short code + /// a single country public Country GetCountryByCode(string shortCode) { return _Countries.SingleOrDefault(c => c.CountryShortCode == shortCode); @@ -66,7 +66,7 @@ public Country GetCountryByCode(string shortCode) /// /// Gets the flag of the country, in the form of an emoji. /// - /// + /// a country short code /// public string GetCountryEmojiFlag(string shortCode) { @@ -78,7 +78,7 @@ public string GetCountryEmojiFlag(string shortCode) /// Selects Regions in a Particular Country /// /// - /// List a list of regions + /// a list of regions public List GetRegionByCountryCode(string ShortCode) { return _Countries.Where(x => x.CountryShortCode == ShortCode) @@ -89,7 +89,7 @@ public List GetRegionByCountryCode(string ShortCode) /// /// Gets the list of all countries in the worlld /// - /// IEnumerable countries + /// a list of countries public IEnumerable GetCountries() => _Countries.Select(c => c.CountryName);