FileUploadBehavior.CheckUploadedImageAndCreateThumbs method

namespace: Serenity.Services   assemblySerenity.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