多线程更新

      Task.Factory.StartNew(() =>
            {
                if (this.currentProject != null && this.currentPackage != null)
                {
                    ExpertInfoService expertInfoService = new ExpertInfoService();
                    this.ssExpertInfos = expertInfoService.GetExpertList(this.currentProject.projectId, this.currentPackage.id);
                    dispatcher.BeginInvoke(
                            new Action(() =>
                            {                
                                this.loading.Hide();

                            }), DispatcherPriority.Normal);
                }
            });
原文地址:https://www.cnblogs.com/liuyudong0825/p/14949397.html