private void ParseNamespaces(CSharpProject project, SDRepository sdRepository, ICoreConfigSection sharpDoxConfig, Dictionary <string, string> tokens) { var namespaceParser = new NamespaceParser(sdRepository, sharpDoxConfig, sharpDoxConfig.InputFile, tokens); namespaceParser.OnDocLanguageFound += ExecuteOnDocLanguageFound; namespaceParser.OnItemParseStart += (n) => { PostParseMessage(_parserStrings.ParsingNamespace + ": " + n); }; namespaceParser.ParseProjectNamespaces(project); }
private void ParseNamespaces() { var pi = 0; var namespaceParser = new NamespaceParser(_repository, _excludedIdentifiers, _coreConfigSection); namespaceParser.OnItemParseStart += (n, i, t) => { PostProgress(_sdBuildStrings.ParsingNamespace + ": " + n, i, t, pi, _solution.Projects.Count); }; for (int i = 0; i < _solution.Projects.Count; i++) { pi = i; namespaceParser.ParseProjectNamespaces(_solution.Projects[i]); } }