private async Task <string> WriteData(
            IImmutableList <string> header,
            IEnumerable <string[]> data
            )
        {
            using (var writer = new StringWriter()) {
                writer.NewLine = "\r\n";

                var tdw = new TabbedDataWriter(writer, header);
                await tdw.WriteBatchAsync(data);

                return(writer.ToString());
            }
        }
 public TabbedObjectWriter(TextWriter writer, params string[] properties)
 {
     _properties = GetObjectProperties(properties).ToArray();
     _inner      = new TabbedDataWriter(writer, _properties.Select(p => p.Name).ToImmutableArray());
 }