You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<PackageReleaseNotes>A comprehensive, structured dataset containing all countries and their administrative subdivisions (states, provinces, regions, and territories), designed for easy use in .NET applications.
21
-
22
-
This package is ideal for address handling, localization, geographic data needs, and global-ready applications.
23
-
Features:
24
-
Complete list of countries with
25
-
- States
26
-
- Provinces
27
-
- Regions
28
-
- Territories
20
+
<PackageReleaseNotes>v1.1.0
21
+
22
+
New Features:
23
+
Ability to retrived selected countries based on identifiers
24
+
25
+
A new method has been added to the CountryProvider class to allow filtering countries by a collection of CountryIdentifier values.
26
+
27
+
This method returns a list of unique ICountry instances corresponding to the provided country identifiers, removing any duplicates.
28
+
29
+
var indentifiers = new List<CountryIdentifier>
30
+
{
31
+
CountryIdentifier.Nigeria,
32
+
CountryIdentifier.Brazil
33
+
};
34
+
35
+
var selectedCountries = CountryProvider.GetCountries(indentifiers);
36
+
37
+
Benefits:
38
+
Allows more efficient retrieval of multiple countries based on identifiers.
39
+
Handles duplicate identifiers gracefully by returning only distinct countries.
40
+
Improves flexibility when working with country data by enabling precise selection.
0 commit comments