Skip to content

Commit

Permalink
added parameterless constructor for deserialization in to ConcurrentS…
Browse files Browse the repository at this point in the history
…tream
  • Loading branch information
bezzad committed Dec 19, 2023
1 parent 0394e70 commit 8e9a45c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Downloader/ConcurrentStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ public long MaxMemoryBufferBytes
}

// parameterless constructor for deserialization
public ConcurrentStream(ILogger logger = null) : this(0, logger) { }
public ConcurrentStream() : this(0, null) { }

public ConcurrentStream(ILogger logger) : this(0, logger) { }

public ConcurrentStream(long maxMemoryBufferBytes = 0, ILogger logger = null) : base(logger)
{
Expand Down

0 comments on commit 8e9a45c

Please sign in to comment.