Merge pull request #2 from aveyrier/master
Set Address as the base type of DetailedAddress. Thanks for highlighting this.
This commit is contained in:
Коммит
ea7c9b2050
|
@ -70,7 +70,7 @@ namespace BingMapsRESTToolkit
|
||||||
}
|
}
|
||||||
|
|
||||||
[DataContract]
|
[DataContract]
|
||||||
public class DetailedAddress
|
public class DetailedAddress : Address
|
||||||
{
|
{
|
||||||
[DataMember(Name = "countryRegionIso2", EmitDefaultValue = false)]
|
[DataMember(Name = "countryRegionIso2", EmitDefaultValue = false)]
|
||||||
public string CountryRegionIso2 { get; set; }
|
public string CountryRegionIso2 { get; set; }
|
||||||
|
|
Загрузка…
Ссылка в новой задаче