Ejemplo n.º 1
0
 private GPlacesResult ResultOfType(eAddressTypes type)
 => results.FirstOrDefault(a => a.types.Any(t => t.ToString().EqualLt(type.ToString())));
Ejemplo n.º 2
0
 public Address_Component ComponentOfType(eAddressTypes type)
 => address_components.Where(a => a.types.Any(t => t.ToString().EqualLt(type.ToString()))).FirstOrDefault();