FileUploadBehavior constructor

namespace: Serenity.Services   assemblySerenity.Net.Web

Creates a new instance of the class.

public FileUploadBehavior(IUploadValidator uploadValidator, IImageProcessor imageProcessor, 
    IUploadStorage storage, IFilenameFormatSanitizer formatSanitizer = null)
parameter description
uploadValidator Upload validator
imageProcessor Image processor
storage Upload storage
formatSanitizer Filename format sanitizer

Exceptions

exception condition
ArgumentNullException One of the arguments is null

See Also