GetInfoText() приватный статический Метод

private static GetInfoText ( UnityEditor.Audio.AudioMixerController controller ) : string
controller UnityEditor.Audio.AudioMixerController
Результат string
        public override void FetchData()
        {
            int  depth = -1;
            bool flag  = this.m_TreeView.state.expandedIDs.Count == 0;

            this.m_RootItem = new TreeViewItem(1010101010, depth, null, "InvisibleRoot");
            this.SetExpanded(this.m_RootItem.id, true);
            List <AudioMixerController> list = this.m_GetAllControllersCallback();

            this.m_NeedRefreshVisibleFolders = true;
            if (list.Count > 0)
            {
                List <AudioMixerItem> list2 = (from mixer in list
                                               select new AudioMixerItem(mixer.GetInstanceID(), 0, this.m_RootItem, mixer.name, mixer, AudioMixersDataSource.GetInfoText(mixer))).ToList <AudioMixerItem>();
                foreach (AudioMixerItem current in list2)
                {
                    this.SetChildParentOfMixerItem(current, list2);
                }
                this.SetItemDepthRecursive(this.m_RootItem, -1);
                this.SortRecursive(this.m_RootItem);
                if (flag)
                {
                    this.m_TreeView.data.SetExpandedWithChildren(this.m_RootItem, true);
                }
            }
        }
        public override void FetchData()
        {
            int  depth = -1;
            bool flag  = this.m_TreeView.state.expandedIDs.Count == 0;

            this.m_RootItem = new TreeViewItem(1010101010, depth, (TreeViewItem)null, "InvisibleRoot");
            this.SetExpanded(this.m_RootItem.id, true);
            List <AudioMixerController> source = this.m_GetAllControllersCallback();

            this.m_NeedRefreshVisibleFolders = true;
            if (source.Count <= 0)
            {
                return;
            }
            List <AudioMixerItem> list = source.Select <AudioMixerController, AudioMixerItem>((Func <AudioMixerController, AudioMixerItem>)(mixer => new AudioMixerItem(mixer.GetInstanceID(), 0, this.m_RootItem, mixer.name, mixer, AudioMixersDataSource.GetInfoText(mixer)))).ToList <AudioMixerItem>();

            using (List <AudioMixerItem> .Enumerator enumerator = list.GetEnumerator())
            {
                while (enumerator.MoveNext())
                {
                    this.SetChildParentOfMixerItem(enumerator.Current, list);
                }
            }
            this.SetItemDepthRecursive(this.m_RootItem, -1);
            this.SortRecursive(this.m_RootItem);
            if (!flag)
            {
                return;
            }
            this.m_TreeView.data.SetExpandedWithChildren(this.m_RootItem, true);
        }