Browse Source

Make fileName optional.

pull/9180/head
maliming 5 years ago
parent
commit
02e5c7f47f
  1. 2
      framework/src/Volo.Abp.Core/Volo/Abp/Content/RemoteStreamContent.cs

2
framework/src/Volo.Abp.Core/Volo/Abp/Content/RemoteStreamContent.cs

@ -20,7 +20,7 @@ namespace Volo.Abp.Content
_disposeStream = disposeStream;
}
public RemoteStreamContent(Stream stream, string fileName, string contentType = null, long? readOnlyLength = null, bool disposeStream = true)
public RemoteStreamContent(Stream stream, string fileName = null, string contentType = null, long? readOnlyLength = null, bool disposeStream = true)
: this(stream, disposeStream)
{
FileName = fileName;

Loading…
Cancel
Save