Class RemoteStreamContent
Inheritance
object
RemoteStreamContent
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Content
Assembly: Volo.Abp.Core.dll
Syntax
public class RemoteStreamContent : IRemoteStreamContent, IDisposable
Constructors
RemoteStreamContent(Stream, string, string, long?, bool)
Declaration
public RemoteStreamContent(Stream stream, string fileName = null, string contentType = null, long? readOnlyLength = null, bool disposeStream = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | stream | |
| string | fileName | |
| string | contentType | |
| long? | readOnlyLength | |
| bool | disposeStream |
Properties
ContentLength
Declaration
public virtual long? ContentLength { get; }
Property Value
| Type | Description |
|---|---|
| long? |
ContentType
Declaration
public virtual string ContentType { get; }
Property Value
| Type | Description |
|---|---|
| string |
FileName
Declaration
public virtual string FileName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Dispose()
Declaration
public virtual void Dispose()
GetStream()
Declaration
public virtual Stream GetStream()
Returns
| Type | Description |
|---|---|
| System.IO.Stream |
Implements
System.IDisposable