简体   繁体   English

在Windows Phone 8中使用Google Places API

[英]using Google places api in Windows phone 8

I am creating a windows phone 8 app using Google places api. 我正在使用Google Places API创建Windows Phone 8应用。 Using place search I can get the list of places. 使用地点搜索,我可以获得地点列表。 But when I am using Place Details search for different types, I have to create different C# classes for different types like bank, establishment etc. As there are so many types I can't create so many classes. 但是,当我使用场所详细信息搜索不同类型时,我必须为银行,营业场所等不同类型创建不同的C#类。由于类型太多,因此我无法创建太多类。 So is there a solution to dynamically generate C# classes for every type? 那么,是否存在一种为每种类型动态生成C#类的解决方案?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM