Пример #1
0
 public CsvHierarchyOutputWriter2(TextWriter writer)
 {
     _hierarchyGenerator = new CsvHierarchyGenerator2();
     _hierarchyWriter    = writer;
     _shouldDispose      = false;
 }
Пример #2
0
 public CsvHierarchyOutputWriter2(WriterConfiguration configuration)
 {
     _hierarchyGenerator = new CsvHierarchyGenerator2();
     _hierarchyWriter    =
         new StreamWriter(File.OpenWrite(Path.Combine(configuration.OutputPath, "pure_hierarchy.txt")));
 }