C# 클래스 MvcApi.Formatting.MediaTypeFormatterMatch

파일 보기 프로젝트 열기: dax70/MvcApi 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

MediaTypeFormatterMatch() 공개 메소드

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.
리턴 System

MediaTypeFormatterMatch() 공개 메소드

public MediaTypeFormatterMatch ( MediaTypeHeaderValue mediaType ) : System
mediaType System.Net.Http.Headers.MediaTypeHeaderValue
리턴 System

MediaTypeFormatterMatch() 공개 메소드

public MediaTypeFormatterMatch ( MediaTypeHeaderValue mediaType, double quality ) : System
mediaType System.Net.Http.Headers.MediaTypeHeaderValue
quality double
리턴 System