namespace ReportGenerator.Generator.Interface; public interface IStreamWriter : IDisposable { /// IStreamWriter Write(string? text = default); /// IStreamWriter WriteLine(string? text = default); /// /// Writes the contents of the given /// to the internal /// IStreamWriter Write(IStreamWriter writer); /// /// Writes the contents of the given /// to the internal /// IStreamWriter Write(StreamReader reader); /// /// Finalizes the content writer /// void Close(); /// /// Initializes the content writer /// void Open(); /// /// Reads the content of the underlying stream /// StreamReader Read(); }