C# Class Thinktecture.Applications.Framework.WebApi.JsonOnlyContentNegotiator

Inheritance: IContentNegotiator
Mostrar archivo Open project: ChristianWeyer/myProducts-End-to-End

Public Methods

Method Description
JsonOnlyContentNegotiator ( System.Net.Http.Formatting.JsonMediaTypeFormatter formatter ) : System
Negotiate ( Type type, HttpRequestMessage request, IEnumerable formatters ) : System.Net.Http.Formatting.ContentNegotiationResult

Method Details

JsonOnlyContentNegotiator() public method

public JsonOnlyContentNegotiator ( System.Net.Http.Formatting.JsonMediaTypeFormatter formatter ) : System
formatter System.Net.Http.Formatting.JsonMediaTypeFormatter
return System

Negotiate() public method

public Negotiate ( Type type, HttpRequestMessage request, IEnumerable formatters ) : System.Net.Http.Formatting.ContentNegotiationResult
type System.Type
request System.Net.Http.HttpRequestMessage
formatters IEnumerable
return System.Net.Http.Formatting.ContentNegotiationResult