C# Class MvcApi.ObjectContent

Inheritance: System.Web.Mvc.ActionResult
ファイルを表示 Open project: dax70/MvcApi Class Usage Examples

Private Properties

Property Type Description
BuildHeaderValue System.Net.Http.Headers.MediaTypeHeaderValue
ObjectContent System
ResetContentNegotiationResults void

Public Methods

Method Description
ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
ObjectContent ( object value, MediaTypeFormatter formatter, MediaTypeHeaderValue mediaType ) : System
ObjectContent ( object value, MediaTypeFormatter formatter, string mediaType ) : System

Private Methods

Method Description
BuildHeaderValue ( string mediaType ) : MediaTypeHeaderValue
ObjectContent ( ) : System
ResetContentNegotiationResults ( ) : void

Method Details

ExecuteResult() public method

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

ObjectContent() public method

public ObjectContent ( object value, MediaTypeFormatter formatter, MediaTypeHeaderValue mediaType ) : System
value object
formatter MvcApi.Formatting.MediaTypeFormatter
mediaType System.Net.Http.Headers.MediaTypeHeaderValue
return System

ObjectContent() public method

public ObjectContent ( object value, MediaTypeFormatter formatter, string mediaType ) : System
value object
formatter MvcApi.Formatting.MediaTypeFormatter
mediaType string
return System