public static WriteNamespaceExplorerPrefix ( string assemblyName, |
||
assemblyName | string | |
sw | ||
pathPrefix | string | |
Результат | void |
private void WriteFile(string assemblyName, IEnumerable <DeclaredSymbolInfo> types, string rootPath, string pathPrefix) { var fileName = Path.Combine(rootPath, Constants.Namespaces); NamespaceTreeNode root = ConstructTree(types); using (var sw = new StreamWriter(fileName)) { Markup.WriteNamespaceExplorerPrefix(assemblyName, sw, pathPrefix); WriteChildren(root, sw, pathPrefix); Markup.WriteNamespaceExplorerSuffix(sw); } }