FileUploadBehavior.CheckUploadedImageAndCreateThumbs method
namespace: Serenity.Services assembly: Serenity.Net.Web
Checks the uploaded image and creates thumbs if required based on options
public static void CheckUploadedImageAndCreateThumbs(IUploadOptions uploadOptions,
IUploadValidator validator, IImageProcessor imageProcessor, IUploadStorage storage,
ref string temporaryFile)
parameter | description |
---|---|
uploadOptions | Upload options |
validator | Upload validator |
imageProcessor | Image processor |
storage | Upload storage |
temporaryFile | Temporary file |
Exceptions
exception | condition |
---|---|
ArgumentNullException |
See Also
- interface IUploadOptions
- interface IUploadValidator
- interface IImageProcessor
- interface IUploadStorage
- class FileUploadBehavior