C# Class ServiceStack.MimeTypes

Mostra file Open project: CSGOpenSource/ServiceStack.Text Class Usage Examples

Public Properties

Property Type Description
ExtensionMimeTypes string>.Dictionary

Public Methods

Method Description
GetExtension ( string mimeType ) : string
GetMimeType ( string fileNameOrExt ) : string

Method Details

GetExtension() public static method

public static GetExtension ( string mimeType ) : string
mimeType string
return string

GetMimeType() public static method

public static GetMimeType ( string fileNameOrExt ) : string
fileNameOrExt string
return string

Property Details

ExtensionMimeTypes public_oe static_oe property

public static Dictionary ExtensionMimeTypes
return string>.Dictionary