Skip to content

FileUploadBehavior constructor

Behavior class that handles FileUploadEditorAttribute and ImageUploadEditorAttribute.

public FileUploadBehavior(IUploadStorage? storage, IUploadProcessor? uploadProcessor, 
    IFilenameFormatSanitizer? formatSanitizer = null)
parameter description
storage Upload storage
uploadProcessor Upload processor
formatSanitizer Filename format sanitizer

Exceptions

exception condition
ArgumentNullException One of the arguments is null

Remarks

Creates a new instance of the class.

See Also