C# Class WebApiConneg.Mappings.RouteDataMapping

Inheritance: System.Net.Http.Formatting.MediaTypeMapping
Mostrar archivo Open project: tugberkugurlu/ProWebAPI.Samples

Public Methods

Method Description
RouteDataMapping ( string routeDataValueName, string routeDataValueValue, MediaTypeHeaderValue mediaType ) : System
TryMatchMediaType ( HttpRequestMessage request ) : double

Method Details

RouteDataMapping() public method

public RouteDataMapping ( string routeDataValueName, string routeDataValueValue, MediaTypeHeaderValue mediaType ) : System
routeDataValueName string
routeDataValueValue string
mediaType System.Net.Http.Headers.MediaTypeHeaderValue
return System

TryMatchMediaType() public method

public TryMatchMediaType ( HttpRequestMessage request ) : double
request System.Net.Http.HttpRequestMessage
return double