IsCacheEmpty() static private method

static private IsCacheEmpty ( ) : Task
return Task
Example #1
0
        private async Task DoRefresh(bool force)
        {
            // run...
            using (this.EnterBusy())
            {
                // update the local cache...
                if (force || await ReportItem.IsCacheEmpty())
                {
                    await ReportItem.UpdateCacheFromServerAsync();
                }

                // reload the items...
                await this.ReloadReportsFromCacheAsync();
            }
        }