private static StreetType ParseStreetType(string token) { if (App.StreetTypeAbbreviations == null || App.StreetTypeAbbreviations.Count < 1) { CacheConfig.BuildCache(); } var normalizedToken = token.ToLower(); if (App.StreetTypeAbbreviations == null || !App.StreetTypeAbbreviations.Any(x => x.Value.Contains(normalizedToken))) { return(StreetType.None); } return(App.StreetTypeAbbreviations.SingleOrDefault(x => x.Value.Contains(normalizedToken)).Key); }
public void SetupFixture() { CacheConfig.BuildCache(); }
public void Setup() { CacheConfig.BuildCache(); }
public void SetupGlobal() { CacheConfig.BuildCache(); }