C# Class Hardly.HttpContentType

Show file Open project: hardlydifficult/HardlyBot

Public Properties

Property Type Description
CssContentType HttpContentType
HtmlContentType HttpContentType
JpegContentType HttpContentType
JsContentType HttpContentType
OggContentType HttpContentType
PngContentType HttpContentType
TextContentType HttpContentType
UnknownContentType HttpContentType

Public Methods

Method Description
FromFileName ( string path ) : HttpContentType
HttpContentType ( string type, string fileExtensions = null ) : System
ToString ( ) : string

Method Details

FromFileName() public static method

public static FromFileName ( string path ) : HttpContentType
path string
return HttpContentType

HttpContentType() public method

public HttpContentType ( string type, string fileExtensions = null ) : System
type string
fileExtensions string
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

CssContentType public static property

public static HttpContentType,Hardly CssContentType
return HttpContentType

HtmlContentType public static property

public static HttpContentType,Hardly HtmlContentType
return HttpContentType

JpegContentType public static property

public static HttpContentType,Hardly JpegContentType
return HttpContentType

JsContentType public static property

public static HttpContentType,Hardly JsContentType
return HttpContentType

OggContentType public static property

public static HttpContentType,Hardly OggContentType
return HttpContentType

PngContentType public static property

public static HttpContentType,Hardly PngContentType
return HttpContentType

TextContentType public static property

public static HttpContentType,Hardly TextContentType
return HttpContentType

UnknownContentType public static property

public static HttpContentType,Hardly UnknownContentType
return HttpContentType