C# Class Rhino.Commonjs.Module.Provider.ParsedContentType

Afficher le fichier Open project: hazzik/Rhino.Net Class Usage Examples

Méthodes publiques

Méthode Description
GetContentType ( ) : string

Returns the content type (without charset declaration) of the MIME type.

Returns the content type (without charset declaration) of the MIME type.

GetEncoding ( ) : string

Returns the character encoding of the MIME type.

Returns the character encoding of the MIME type.

ParsedContentType ( string mimeType ) : Sharpen

Creates a new parsed content type.

Creates a new parsed content type.

Method Details

GetContentType() public méthode

Returns the content type (without charset declaration) of the MIME type.
Returns the content type (without charset declaration) of the MIME type.
public GetContentType ( ) : string
Résultat string

GetEncoding() public méthode

Returns the character encoding of the MIME type.
Returns the character encoding of the MIME type.
public GetEncoding ( ) : string
Résultat string

ParsedContentType() public méthode

Creates a new parsed content type.
Creates a new parsed content type.
public ParsedContentType ( string mimeType ) : Sharpen
mimeType string /// the full MIME type; typically the value of the /// "Content-Type" header of some MIME-compliant message. Can be null. ///
Résultat Sharpen