Exemplo n.º 1
0
        private void UpdateProgress(ConcurrentDictionary <string, int> dict, ProgressReport progress)
        {
            if (progress == null)
            {
                return;
            }

            Stylet.Execute.PostToUIThread(() =>
            {
                progress.Update(dict);
                progress.Value = dict.Values.Last();
            });
        }