C# 클래스 Subtext.Framework.Configuration.MimeTypesMapper

파일 보기 프로젝트 열기: ayende/Subtext

공개 메소드들

메소드 설명
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