Class ResourceFileModel
Model representing a resource file within the WebReportDesigner storage system.
Namespace: Telerik.WebReportDesigner.Services.Models
Assembly: Telerik.WebReportDesigner.Services.dll
Syntax
public class ResourceFileModel : ResourceModelBase
Remarks
Used throughout the Assets Manager and resource operations to provide file metadata including name, size, and path information for proper file management and display.
Constructors
ResourceFileModel()
Declaration
public ResourceFileModel()
Properties
BasePath
Gets or sets the base path of resource files with such extension.
Declaration
[Obsolete("The Telerik.WebReportDesigner.Services.Models.ResourceFileModel.BasePath is now obsolete. Please use Telerik.WebReportDesigner.Services.Models.ResourceFileModel.Uri", false)]
public string BasePath { get; set; }
Property Value
|
System.String
|
Remarks
This property is obsolete. Use Uri property from the base class instead for resource identification.
FileName
Gets or sets the name and extension of the resource file.
Declaration
public string FileName { get; set; }
Property Value
|
System.String
|
Remarks
Provides the complete filename including extension for file identification and display purposes.
FullName
Gets the concatenated full path of the file, relative to the resources root folder.
Declaration
public string FullName { get; }
Property Value
|
System.String
|
Remarks
Combines ParentPath and FileName to create the complete relative path that will be preserved in report definitions.
FullPath
Gets or sets the absolute path, name and extension of the resource file.
Declaration
public string FullPath { get; set; }
Property Value
|
System.String
|
Remarks
Provides the complete file path for backward compatibility and file system operations.
ParentPath
Gets or sets the relative path of the resource file.
Declaration
public string ParentPath { get; set; }
Property Value
|
System.String
|
Remarks
Represents the folder hierarchy path relative to the resources root folder, used for organizing files in the storage system.
Size
Gets or sets the size of the resource file in kilobytes.
Declaration
public float Size { get; set; }
Property Value
|
System.Single
|
Remarks
Used for displaying file size information in the Assets Manager and for storage management purposes.