C# Class MvcApi.ObjectContent

Inheritance: System.Web.Mvc.ActionResult
Afficher le fichier Open project: dax70/MvcApi Class Usage Examples

Private Properties

Свойство Type Description
BuildHeaderValue System.Net.Http.Headers.MediaTypeHeaderValue
ObjectContent System
ResetContentNegotiationResults void

Méthodes publiques

Méthode 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

Méthode Description
BuildHeaderValue ( string mediaType ) : MediaTypeHeaderValue
ObjectContent ( ) : System
ResetContentNegotiationResults ( ) : void

Method Details

ExecuteResult() public méthode

public ExecuteResult ( System.Web.Mvc.ControllerContext context ) : void
context System.Web.Mvc.ControllerContext
Résultat void

ObjectContent() public méthode

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

ObjectContent() public méthode

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