C# Класс ImageProcessor.Web.Services.RemoteImageService

The remote image service.
Наследование: IImageService
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetImage() публичный Метод

Gets the image using the given identifier.
public GetImage ( object id ) : Task
id object /// The value identifying the image to fetch. ///
Результат Task

IsValidRequest() публичный Метод

Gets a value indicating whether the current request passes sanitizing rules.
public IsValidRequest ( string path ) : bool
path string /// The image path. ///
Результат bool

RemoteImageService() публичный Метод

Initializes a new instance of the RemoteImageService class.
public RemoteImageService ( ) : System
Результат System