C# 클래스 ImageProcessor.Web.Services.RemoteImageService

The remote image service.
상속: IImageService
파일 보기 프로젝트 열기: JimBobSquarePants/ImageProcessor

공개 메소드들

메소드 설명
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