ClassResourceFileDataModel
Model containing resource file data and metadata for download operations.
Definition
Namespace:Telerik.WebReportDesigner.Services.Models
Assembly:Telerik.WebReportDesigner.Services.dll
Syntax:
public class ResourceFileDataModel
Inheritance: objectResourceFileDataModel
Constructors
ResourceFileDataModel()
Declaration
public ResourceFileDataModel()
Properties
Data
Gets or sets the binary content of the resource file.
Declaration
public byte[] Data { get; set; }
Property Value
byte[]
Remarks
Contains the raw file data that can be written to disk or streamed to clients for download operations.
MimeType
Gets or sets the MIME type of the resource file.
Declaration
public string MimeType { get; set; }
Property Value
string
Remarks
Used for proper content-type handling when serving files through HTTP responses, where applicable.
Name
Gets or sets the name of the resource file.
Declaration
public string Name { get; set; }
Property Value
string
Remarks
Provides the filename including extension for proper file identification and download naming.