Class FileActionResult
- Namespace
- TimeCockpit.Data.DataModel.Actions
- Assembly
- TimeCockpit.Data.dll
Represents an IActionResult with a file as response.
public class FileActionResult : IActionResult
- Inheritance
-
ObjectFileActionResult
- Implements
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
FileActionResult()
public FileActionResult()
Properties
ContentType
Gets or sets the content type of the file.
public string ContentType { get; set; }
Property Value
- String
FileContents
Gets or sets the content of the file.
public byte[] FileContents { get; set; }
Property Value
- Byte[]
FileDownloadName
Gets or sets the name of the file.
public string FileDownloadName { get; set; }
Property Value
- String
Inline
Gets or sets a value indicating whether the file should be displayed inline or downloaded.
public bool Inline { get; set; }
Property Value
- Boolean