Skip to main content

ObjectFileSystemProviderBuilder Class

An object file system provider.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public class ObjectFileSystemProviderBuilder :
    FileSystemProviderBuilder

Remarks

<script>
    var fileSystem = [
        {
            name: "Documents",
            isDirectory: true,
            items: [{
                name: "Projects",
                isDirectory: true,
                items: [{
                    name: "About.rtf",
                    isDirectory: false,
                    size: 1024
                }, {
                    name: "Passwords.rtf",
                    isDirectory: false,
                    size: 2048
                }]
            }, {
                name: "About.xml",
                isDirectory: false,
                size: 1024
            }]
        }];
</script>

@(Html.DevExtreme().FileManager()
    .FileSystemProvider(provider => provider.Object()
        .Data(new JS("fileSystem"))
    )
)

Concepts

Run Demo: File Manager - Hierarchical JS Structure

Inheritance

See Also