C# Класс Subtext.Framework.Configuration.MimeTypesMapper

Показать файл Открыть проект

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

Метод Описание
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.

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

GetMimeType() публичный Метод

Returns the mimetype that corresponds to a file extension.
public GetMimeType ( string ext ) : string
ext string Extension of a file.
Результат string

MimeTypesMapper() публичный Метод

public MimeTypesMapper ( NameValueCollection config ) : System
config System.Collections.Specialized.NameValueCollection
Результат System

ParseUrl() публичный Метод

Detect the mimetype of the url of a file.
public ParseUrl ( string url ) : string
url string Url of the file
Результат string