FileSystemRenameItemOptions Class
Accesses options related to the item rename operation.
Namespace: DevExtreme.AspNet.Mvc.FileManagement
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public class FileSystemRenameItemOptions :
FileSystemItemActionOptionsBase
Remarks
Use the FileSystemRenameItemOptions object to access item rename options in the file system provider that uses the IFileSystemItemEditor interface.
Controller:
public object FileSystem(FileSystemCommand command, string arguments) {
var config = new FileSystemConfiguration {
FileSystemProvider = MyFileSystemProvider,
//...
}
}
Provider:
public class MyFileSystemProvider : IFileSystemItemEditor {
//...
public void RenameItem(FileSystemRenameItemOptions options) {
var item = options.Item;
var fileItem = GetFileItem(item);
fileItem.Name = options.ItemNewName;
//...
}
}
Concepts
Online Demos
Inheritance
Object
FileSystemItemActionOptionsBase
FileSystemRenameItemOptions
See Also