Skip to main content

FileSystemUploadFileOptions Class

Accesses file upload options.

Namespace: DevExtreme.AspNet.Mvc.FileManagement

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public class FileSystemUploadFileOptions

Remarks

Use the FileSystemUploadFileOptions object to access file upload options in the file system provider that uses the IFileUploader interface.

public class MyFileSystemProvider : IFileUploader {
    public void UploadFile(FileSystemUploadFileOptions options) {
        string destinationKey = $"{options.DestinationDirectory.Path}/{options.FileName}";
        // your code
    }
}

Concepts

Online Demo

Inheritance

Object
FileSystemUploadFileOptions
See Also