C# Class MvcApi.Formatting.MediaTypeFormatterMatch

Afficher le fichier Open project: dax70/MvcApi Class Usage Examples

Méthodes publiques

Méthode Description
MediaTypeFormatterMatch ( MediaTypeFormatter formatter, MediaTypeHeaderValue mediaType, double quality, MediaTypeFormatterMatchRanking ranking ) : System

Initializes a new instance of the MediaTypeFormatterMatch class.

MediaTypeFormatterMatch ( MediaTypeHeaderValue mediaType ) : System
MediaTypeFormatterMatch ( MediaTypeHeaderValue mediaType, double quality ) : System

Method Details

MediaTypeFormatterMatch() public méthode

Initializes a new instance of the MediaTypeFormatterMatch class.
public MediaTypeFormatterMatch ( MediaTypeFormatter formatter, MediaTypeHeaderValue mediaType, double quality, MediaTypeFormatterMatchRanking ranking ) : System
formatter MediaTypeFormatter The matching formatter.
mediaType System.Net.Http.Headers.MediaTypeHeaderValue The media type. Can be null in which case the media type application/octet-stream is used.
quality double The quality of the match. Can be null in which case it is considered a full match with a value of 1.0
ranking MediaTypeFormatterMatchRanking The kind of match.
Résultat System

MediaTypeFormatterMatch() public méthode

public MediaTypeFormatterMatch ( MediaTypeHeaderValue mediaType ) : System
mediaType System.Net.Http.Headers.MediaTypeHeaderValue
Résultat System

MediaTypeFormatterMatch() public méthode

public MediaTypeFormatterMatch ( MediaTypeHeaderValue mediaType, double quality ) : System
mediaType System.Net.Http.Headers.MediaTypeHeaderValue
quality double
Résultat System