public LocalizedOsmGeoObject(Language language, StreetName streetName, IEnumerable <GeoNode> geoNodes = null, string suburb = null) { StreetName = streetName; ParentDistrict = suburb?.ToLower(); GeoNodes = geoNodes; Language = language; }
protected bool Equals(StreetName other) { return(string.Equals(FullName, other.FullName) && string.Equals(FullOldName, other.FullOldName)); }