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

The local file image service for retrieving images from the file system.
Наследование: 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.

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

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