コード例 #1
0
            public string[] FindMethods(string className, int?paramCount)
            {
                var fileInfo = _node.GetAnalysisEntry();

                return(fileInfo.Analyzer.WaitForRequest(fileInfo.Analyzer.FindMethodsAsync(
                                                            fileInfo,
                                                            _node.GetTextBuffer(),
                                                            className,
                                                            paramCount
                                                            ), "PythonNonCodeFileNode.FindMethods"));
            }
コード例 #2
0
            public string[] FindMethods(string className, int?paramCount)
            {
                var fileInfo = _node.GetAnalysisEntry();

                return(fileInfo.Analyzer.FindMethodsAsync(
                           fileInfo,
                           _node.GetTextBuffer(),
                           className,
                           paramCount
                           ).WaitOrDefault(1000));
            }