コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AbstractCityResponse"/> class.
 /// </summary>
 public AbstractCityResponse()
 {
     City = new City();
     Location = new Location();
     Postal = new Postal();
     Subdivisions = new List<Subdivision>();
 }
コード例 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public CityIspOrgResponse(
     City city = null,
     Continent continent = null,
     Country country = null, Location location = null,
     Model.MaxMind maxMind = null,
     Postal postal = null,
     Country registeredCountry = null,
     RepresentedCountry representedCountry = null,
     List<Subdivision> subdivisions = null,
     Traits traits = null)
     : base(city, continent, country, location, maxMind, postal, registeredCountry, representedCountry, subdivisions, traits)
 {
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AbstractCityResponse"/> class.
 /// </summary>
 public AbstractCityResponse(
     City city = null, 
     Continent continent = null, 
     Country country = null,
     Location location = null,
     Model.MaxMind maxMind = null,
     Postal postal = null,
     Country registeredCountry = null, 
     RepresentedCountry representedCountry = null,
     List<Subdivision> subdivisions = null,
     Traits traits = null)
     : base(continent, country, maxMind, registeredCountry, representedCountry, traits)
 {
     City = city ?? new City();
     Location = location ?? new Location();
     Postal = postal ?? new Postal();
     Subdivisions = subdivisions ?? new List<Subdivision>();
 }