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