C# Class Hardly.HttpContentType

Datei anzeigen 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_oe static_oe property

public static HttpContentType,Hardly CssContentType
return HttpContentType

HtmlContentType public_oe static_oe property

public static HttpContentType,Hardly HtmlContentType
return HttpContentType

JpegContentType public_oe static_oe property

public static HttpContentType,Hardly JpegContentType
return HttpContentType

JsContentType public_oe static_oe property

public static HttpContentType,Hardly JsContentType
return HttpContentType

OggContentType public_oe static_oe property

public static HttpContentType,Hardly OggContentType
return HttpContentType

PngContentType public_oe static_oe property

public static HttpContentType,Hardly PngContentType
return HttpContentType

TextContentType public_oe static_oe property

public static HttpContentType,Hardly TextContentType
return HttpContentType

UnknownContentType public_oe static_oe property

public static HttpContentType,Hardly UnknownContentType
return HttpContentType