Added StreamFormat property to StreamPipeDataWriter

Former-commit-id: 6845fe3bc7
This commit is contained in:
Максим Багрянцев 2020-04-28 18:43:54 +03:00
parent 6bb03f6e14
commit b0aedbad87

View file

@ -12,6 +12,7 @@ public class StreamPipeDataWriter : IPipeDataWriter
{ {
public System.IO.Stream Source { get; private set; } public System.IO.Stream Source { get; private set; }
public int BlockSize { get; set; } = 4096; public int BlockSize { get; set; } = 4096;
public string StreamFormat { get; set; } = string.Empty;
public StreamPipeDataWriter(System.IO.Stream stream) public StreamPipeDataWriter(System.IO.Stream stream)
{ {
@ -40,7 +41,7 @@ public async Task WriteDataAsync(System.IO.Stream pipe)
public string GetFormat() public string GetFormat()
{ {
return ""; return StreamFormat;
} }
} }
} }