C# Class Subtext.Framework.Configuration.MimeTypesMapper

Afficher le fichier Open project: ayende/Subtext

Méthodes publiques

Méthode Description
GetMimeType ( string ext ) : string

Returns the mimetype that corresponds to a file extension.

MimeTypesMapper ( NameValueCollection config ) : System
ParseUrl ( string url ) : string

Detect the mimetype of the url of a file.

Method Details

GetMimeType() public méthode

Returns the mimetype that corresponds to a file extension.
public GetMimeType ( string ext ) : string
ext string Extension of a file.
Résultat string

MimeTypesMapper() public méthode

public MimeTypesMapper ( NameValueCollection config ) : System
config System.Collections.Specialized.NameValueCollection
Résultat System

ParseUrl() public méthode

Detect the mimetype of the url of a file.
public ParseUrl ( string url ) : string
url string Url of the file
Résultat string