示例#1
0
 public CsvHierarchyOutputWriter(TextWriter writer)
 {
     _hierarchyGenerator = new CsvHierarchyGenerator();
     _hierarchyWriter    = writer;
     _shouldDispose      = false;
 }
示例#2
0
 public CsvHierarchyOutputWriter(WriterConfiguration configuration)
 {
     _hierarchyGenerator = new CsvHierarchyGenerator();
     _hierarchyWriter    =
         new StreamWriter(File.OpenWrite(Path.Combine(configuration.OutputPath, "pure_hierarchy.txt")));
 }