Skip to main content

PhysicalFileSystemProvider(String, Action<FileSystemInfo, FileSystemItem>) Constructor

Initializes a new instance of the PhysicalFileSystemProvider class with specified settings.

Namespace: DevExtreme.AspNet.Mvc.FileManagement

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public PhysicalFileSystemProvider(
    string rootDirectoryPath,
    Action<FileSystemInfo, FileSystemItem> prepareFileSystemItemCallback
)

Parameters

Name Type Description
rootDirectoryPath String

The root directory path.

prepareFileSystemItemCallback Action<FileSystemInfo, FileSystemItem>

A delegate method that allows you to customize a file system item previous to sending it to the client. The method accepts System.IO.FileSystemInfo and FileSystemItem as parameters.

See Also