SidebarDiagnostics.Sidebar.BindModel C# (CSharp) Méthode

BindModel() private méthode

private BindModel ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task
        private async Task BindModel()
        {
            await Task.Run(async () =>
            {
                if (Model != null)
                {
                    Model.Dispose();
                    Model = null;
                }

                await Dispatcher.BeginInvoke(DispatcherPriority.Normal, new ModelReadyHandler(ModelReady), new SidebarModel());
            });
        }