IFileSystemItemLoader Interface
Provides APIs to get items from a file system.
Namespace: DevExtreme.AspNet.Mvc.FileManagement
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public interface IFileSystemItemLoader
Remarks
Assign a custom class that implements the IFileSystemItemLoader interface to the FileSystemProvider property to enable a custom file system provider to get files and folders from a file system.
Controller:
public object FileSystem(FileSystemCommand command, string arguments) {
var config = new FileSystemConfiguration {
FileSystemProvider = MyFileSystemProvider,
//...
}
}
Provider:
public class MyFileSystemProvider : IFileSystemItemLoader {
public IEnumerable<FileSystemItem> GetItems(FileSystemLoadItemOptions options) {
// your code
}
}
Concepts
Online Demos
See Also