Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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
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