C# Class Web.Generics.WebMvc.ImageResult

An specialized ActionResult for handling images
Inheritance: System.Web.Mvc.ActionResult
Show file Open project: inspira/Web.Generics

Public Methods

Method Description
ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
ImageResult ( Image image, string contentType ) : System

Private Methods

Method Description
GetFormat ( ) : ImageFormat

Method Details

ExecuteResult() public method

public ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
context System.Web.Mvc.ControllerContext
return void

ImageResult() public method

public ImageResult ( Image image, string contentType ) : System
image Image
contentType string
return System