Class UrlFileResult
Represents a IFileResult that when executed will redirect to an url.
public class UrlFileResult : IUrlFileResult, IFileResult
- Inheritance
-
UrlFileResult
- Implements
- Inherited Members
Constructors
UrlFileResult(string)
Initializes a new instance of the UrlFileResult class.
public UrlFileResult(string url)
Parameters
url
stringThe URL.
Properties
ContentType
Gets the Content-Type header for the response.
public string ContentType { get; }
Property Value
FileName
Gets the file name.
public string? FileName { get; }
Property Value
Url
Gets URL.
public string Url { get; }