예제 #1
0
        private async void RefreshButton_Click(object sender, RoutedEventArgs e)
        {
            var diskCache = new DiskCache();
            var cacheSize = await diskCache.CalculateAllSizeAsync();

            CacheSizeTextBlock.Text = cacheSize.ToString();
        }