private Region(string country, string region) { this.Country = Country.GetCountry(country); this.Name = region; }
public static Country GetCountry(string name) { try { return II.CurentII.Countries[name]; } catch { Country country = new Country(name); II.CurentII.Countries[name] = country; II.CurentII.Regions[name] = new Dictionary<string, Region>(); return country; } }
public static Region GetRegion(Country country, string region) { return GetRegion(country.Name,region); }
private Region(Country country, string region) { this.Country = country; this.Name = region; }