C# Class ImageProcessor.Web.Services.RemoteImageService

The remote image service.
Inheritance: IImageService
Datei anzeigen 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.

RemoteImageService ( ) : System

Initializes a new instance of the RemoteImageService class.

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

RemoteImageService() public method

Initializes a new instance of the RemoteImageService class.
public RemoteImageService ( ) : System
return System