RenameResourceModel
Class
Model for renaming resources within the WebReportDesigner storage system.
Used by resource rename operations in the Assets Manager to update resource names while preserving their location and content in the system.
Definition
Namespace:Telerik.WebReportDesigner.Services.Models
Assembly:Telerik.WebReportDesigner.Services.dll
Syntax:
C#
public class RenameResourceModel : INamedModelBase
Inheritance: objectRenameResourceModel
Implements:
Constructors
C#
public RenameResourceModel()
Properties
Name
string
Gets or sets the new name for the resource.
C#
[Required(AllowEmptyStrings = false)]
public string Name { get; set; }
Implements:
Must be a valid resource name that doesn't conflict with existing resources in the same directory.
OldUri
string
Gets or sets the URI of the resource to be renamed.
C#
[Required(AllowEmptyStrings = false)]
public string OldUri { get; set; }
This property identifies the existing resource that will receive a new name.