PhysicalFileSystemProvider(String, Action<FileSystemInfo, FileSystemItem>) Constructor
In This Article
Initializes a new instance of the PhysicalFileSystemProvider class with specified settings.
Namespace: DevExtreme.AspNet.Mvc.FileManagement
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public PhysicalFileSystemProvider(
string rootDirectoryPath,
Action<FileSystemInfo, FileSystemItem> prepareFileSystemItemCallback
)
#Parameters
Name | Type | Description |
---|---|---|
root |
String | The root directory path. |
prepare |
Action<File |
A delegate method that allows you to customize a file system item previous to sending it to the client. The method accepts System. |
See Also