C# Класс ServiceStack.ContentFormat

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetContentFormat ( Format format ) : string
GetContentFormat ( string contentType ) : string
GetEndpointAttributes ( string contentType ) : RequestAttributes
GetRealContentType ( string contentType ) : string
GetRequestAttribute ( string httpMethod ) : RequestAttributes
IsBinary ( this contentType ) : bool
MatchesContentType ( this contentType, string matchesContentType ) : bool
ToContentFormat ( this contentType ) : string
ToContentType ( this formats ) : string
ToFeature ( this contentType ) : Feature

Описание методов

GetContentFormat() публичный статический Метод

public static GetContentFormat ( Format format ) : string
format Format
Результат string

GetContentFormat() публичный статический Метод

public static GetContentFormat ( string contentType ) : string
contentType string
Результат string

GetEndpointAttributes() публичный статический Метод

public static GetEndpointAttributes ( string contentType ) : RequestAttributes
contentType string
Результат RequestAttributes

GetRealContentType() публичный статический Метод

public static GetRealContentType ( string contentType ) : string
contentType string
Результат string

GetRequestAttribute() публичный статический Метод

public static GetRequestAttribute ( string httpMethod ) : RequestAttributes
httpMethod string
Результат RequestAttributes

IsBinary() публичный статический Метод

public static IsBinary ( this contentType ) : bool
contentType this
Результат bool

MatchesContentType() публичный статический Метод

public static MatchesContentType ( this contentType, string matchesContentType ) : bool
contentType this
matchesContentType string
Результат bool

ToContentFormat() публичный статический Метод

public static ToContentFormat ( this contentType ) : string
contentType this
Результат string

ToContentType() публичный статический Метод

public static ToContentType ( this formats ) : string
formats this
Результат string

ToFeature() публичный статический Метод

public static ToFeature ( this contentType ) : Feature
contentType this
Результат Feature