C# Class RestfulRouting.Format.FormatResult

Inheritance: System.Web.Mvc.ActionResult
Mostrar archivo Open project: restful-routing/restful-routing

Public Properties

Property Type Description
MimeTypes MimeTypeList

Public Methods

Method Description
ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
ExposeResult ( ) : ActionResultExposer

Exposes the action result for unit testing.

FormatResult ( Action format ) : System
GetFormat ( FormatCollection formatCollection, string acceptTypes ) : string
GetResult ( FormatCollection formatCollection, RouteValueDictionary routeValues, string acceptTypes ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
FormatResult ( ) : System

Method Details

ExecuteResult() public method

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

ExposeResult() public method

Exposes the action result for unit testing.
public ExposeResult ( ) : ActionResultExposer
return RestfulRouting.Format.ActionResultExposal.ActionResultExposer

FormatResult() public method

public FormatResult ( Action format ) : System
format Action
return System

GetFormat() public static method

public static GetFormat ( FormatCollection formatCollection, string acceptTypes ) : string
formatCollection FormatCollection
acceptTypes string
return string

GetResult() public static method

public static GetResult ( FormatCollection formatCollection, RouteValueDictionary routeValues, string acceptTypes ) : System.Web.Mvc.ActionResult
formatCollection FormatCollection
routeValues RouteValueDictionary
acceptTypes string
return System.Web.Mvc.ActionResult

Property Details

MimeTypes public_oe static_oe property

public static MimeTypeList MimeTypes
return MimeTypeList