Exemplo n.º 1
0
 public async Task Schema()
 {
     var dr  = TestData.GetTypedData();
     var sw  = new StringWriter();
     var csv = new CsvDataWriter(sw);
     await csv.WriteAsync(dr);
 }
Exemplo n.º 2
0
 public async Task SylvanDataAsync()
 {
     var tw  = TextWriter.Null;
     var dr  = TestData.GetTestDataReader();
     var csv = new CsvDataWriter(tw);
     await csv.WriteAsync(dr);
 }
Exemplo n.º 3
0
        public async Task Binary()
        {
            var dr = TestData.GetBinaryData();
            var sw = new StringWriter();

            using var csv = new CsvDataWriter(sw);
            await csv.WriteAsync(dr);

            var str = sw.ToString();
        }