C# Class ImageProcessor.Web.Services.RemoteImageService

The remote image service.
Inheritance: IImageService
Afficher le fichier Open project: JimBobSquarePants/ImageProcessor

Méthodes publiques

Méthode 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 méthode

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

IsValidRequest() public méthode

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

RemoteImageService() public méthode

Initializes a new instance of the RemoteImageService class.
public RemoteImageService ( ) : System
Résultat System