public IAsyncOperation <IList <string> > GetItemIDsAsync()
 {
     return(AsyncInfo.Run(async cancelToken =>
     {
         using (await CrossThreadLockScope.Enter(m_lock))
         {
             return await m_objectStore.GetAllKeysAsync();
         }
     }));
 }
Beispiel #2
0
        async Task LoadIndexAsync()
        {
            m_itemIDIndex = null;

            IList <string> keys = await m_changeStore.GetAllKeysAsync();

            if (!keys.IsNullOrEmpty())
            {
                m_itemIDIndex = new HashSet <string>(keys);
            }
        }
 public async Task <IList <string> > GetAllKeysAsync()
 {
     return(await m_inner.GetAllKeysAsync());
 }