NGeo.GeoNames.GeoNamesContainer.PostalCodeCountryInfo C# (CSharp) Method

PostalCodeCountryInfo() public method

public PostalCodeCountryInfo ( ) : ReadOnlyCollection
return ReadOnlyCollection
        public ReadOnlyCollection<PostalCodedCountry> PostalCodeCountryInfo()
        {
            return _client.PostalCodeCountryInfo(_userName);
        }

Usage Example

示例#1
0
 public void GeoNames_PostalCodeCountryInfo_ShouldReturnNull_WithoutUserName()
 {
     using (var geoNames = new GeoNamesContainer(null))
     {
         var results = geoNames.PostalCodeCountryInfo();
         results.ShouldBeNull();
     }
 }
All Usage Examples Of NGeo.GeoNames.GeoNamesContainer::PostalCodeCountryInfo