internal async Task LoadNewItems(IList <RecordItem> itemList, IList <ItemKey> keysRequested, IList <ItemKey> newKeysFound) { if (itemList.Count != keysRequested.Count) { throw new InvalidOperationException(); } int iNewKey = 0; for (int i = 0, count = keysRequested.Count; i < count; ++i) { ItemKey keyRequested = keysRequested[i]; if (keyRequested.EqualsKey(newKeysFound[i])) { itemList[i] = await m_localStore.GetItemAsyncImpl(keyRequested); ++iNewKey; } } }