private void BuildUmbracoTrees() { var treeList = new SortedDictionary <string, string>(); treeList.Add("content", "Content"); treeList.Add("media", "Media"); treeList.Add("contentTypes", "Content Types"); treeList.Add("mediaTypes", "Media Types"); var fillList = new FillRootTreeListHandler(FillTreeList); Dispatcher.BeginInvoke(fillList, treeList); //fill the tree on the UI thread }
private void BuildUmbracoTrees() { var treeList = new SortedDictionary<string, string>(); treeList.Add("content", "Content"); treeList.Add("media", "Media"); treeList.Add("contentTypes", "Content Types"); treeList.Add("mediaTypes", "Media Types"); treeList.Add("dataTypes", "Data Types"); var fillList = new FillRootTreeListHandler(FillTreeList); Dispatcher.BeginInvoke(fillList, treeList); //fill the tree on the UI thread }