示例#1
0
        private void SetTree(PSParseResult psParseResult)
        {
            treeView.BeginUpdate();
            treeView.Nodes.Clear();

            AddPSNode(psScriptAst);

            AddCSharpClassesNode(psParseResult.CSharpClasses);

            AddInvokeMembersNode(psParseResult.InvokeMembers);

            treeView.EndUpdate();
        }
示例#2
0
        private void RefreshWindow(PSParseResult psParseResult)
        {
            SetScriptText(psScriptAst.GetText());

            SetClassNames(psParseResult.CSharpClasses);

            SetInvokedMethods(psParseResult.InvokeMembers);

            SetClassesMethods(psParseResult.CSharpClasses);

            SetTree(psParseResult);
        }