Table of Contents

Class GeoStates

Namespace
SunamoShared.Values
Assembly
SunamoShared.dll

Provides a dictionary of ISO country codes to full country names.

public class GeoStates
Inheritance
GeoStates
Inherited Members
Extension Methods

Constructors

GeoStates()

Initializes a new instance without populating the states dictionary. Call Init() to load data.

public GeoStates()

Properties

StatesFullNames

Dictionary mapping ISO 3166-1 alpha-2 codes to country names.

public Dictionary<string, string>? StatesFullNames { get; set; }

Property Value

Dictionary<string, string>

Methods

Init()

Initializes and returns the states dictionary with all country mappings.

public Dictionary<string, string> Init()

Returns

Dictionary<string, string>