Skip to main content

FileManagerBuilder.FileSystemProvider(Func<FileSystemProviderFactory, OptionsOwnerBuilder>) Method

Specifies the file system provider. Mirrors the client-side fileSystemProvider option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FileManagerBuilder FileSystemProvider(
    Func<FileSystemProviderFactory, OptionsOwnerBuilder> configurator
)

Parameters

Name Type Description
configurator Func<FileSystemProviderFactory, OptionsOwnerBuilder>

A function that allows you to configure a file system provider.

Returns

Type Description
FileManagerBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().FileManager()
    .FileSystemProvider(provider => provider.Remote()
        .Url(Url.RouteUrl("FileManagementFileSystemApi")))
)
See Also