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