C# Class ImageProcessor.Web.Services.LocalFileImageService

The local file image service for retrieving images from the file system.
Inheritance: IImageService
Exibir arquivo Open project: JimBobSquarePants/ImageProcessor

Public Methods

Method Description
GetImage ( object id ) : Task

Gets the image using the given identifier.

IsValidRequest ( string path ) : bool

Gets a value indicating whether the current request passes sanitizing rules.

Method Details

GetImage() public method

Gets the image using the given identifier.
public GetImage ( object id ) : Task
id object /// The value identifying the image to fetch. ///
return Task

IsValidRequest() public method

Gets a value indicating whether the current request passes sanitizing rules.
public IsValidRequest ( string path ) : bool
path string /// The image path. ///
return bool