예제 #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")));
 }