Class ResourceFileDataModel
Model containing resource file data and metadata for download operations.
Inheritance
Namespace: Telerik.WebReportDesigner.Services.Models
Assembly: Telerik.WebReportDesigner.Services.dll
Syntax
public class ResourceFileDataModel
Remarks
Used when retrieving resource files from the WebReportDesigner storage system, combining the binary content with essential metadata for proper handling and display.
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
|
System.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
|
System.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
|
System.String
|
Remarks
Provides the filename including extension for proper file identification and download naming.