WriteNamespaceExplorerSuffix() публичный статический Метод

public static WriteNamespaceExplorerSuffix ( StreamWriter sw ) : void
sw System.IO.StreamWriter
Результат void
Пример #1
0
        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);
            }
        }