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
- interface IUploadStorage
- interface IUploadProcessor
- interface IFilenameFormatSanitizer
- class FileUploadBehavior