Property | Type | Description | |
---|---|---|---|
MediaType | string | ||
MediaTypeCategory | IorMediaTypeCategory |
Method | Description | |
---|---|---|
GetFileExtension ( IorMediaTypeCategory mtc, string mt, |
||
GetMediaTypeCategory ( string mt ) : IorMediaTypeCategory | ||
GetPrettyPrintedContent ( IorMediaTypeCategory mtc, string content ) : string |
If contentType is an xml content type, then try to pretty print the rawContent. If that fails or otherwise, just return the rawContent
|
|
IorContentType ( ) : System | ||
IorContentType ( string contentType ) : System |
public static GetFileExtension ( IorMediaTypeCategory mtc, string mt, |
||
mtc | IorMediaTypeCategory | |
mt | string | |
requestUri | ||
return | string |
public static GetMediaTypeCategory ( string mt ) : IorMediaTypeCategory | ||
mt | string | |
return | IorMediaTypeCategory |
public static GetPrettyPrintedContent ( IorMediaTypeCategory mtc, string content ) : string | ||
mtc | IorMediaTypeCategory | |
content | string | |
return | string |
public IorContentType ( string contentType ) : System | ||
contentType | string | |
return | System |