public async Task <IList <IRtmLocation> > GetAllLocationsAsync() { await RefreshLocationCache().ConfigureAwait(false); // Return a copy of the internal cache so that it cannot be externally modified. return(await _locationCache.GetAllAsync().ConfigureAwait(false)); }