C# Class Utilities.IO.HTMLExtensions

Mostra file Open project: JaCraig/Craig-s-Utility-Library

Public Methods

Method Description
Minify ( this Input, MinificationType Type = MinificationType.HTML ) : string

Minifies the file based on the data type specified

Minify ( this Input, MinificationType Type = MinificationType.HTML ) : string

Combines and minifies various files

Minify ( this Input, MinificationType Type = MinificationType.HTML ) : string

Combines and minifies various files

Private Methods

Method Description
CSSMinify ( string Input ) : string
Evaluate ( Match Matcher ) : string
HTMLMinify ( string Input ) : string
JavaScriptMinify ( string Input ) : string

Method Details

Minify() public static method

Minifies the file based on the data type specified
public static Minify ( this Input, MinificationType Type = MinificationType.HTML ) : string
Input this Input text
Type MinificationType Type of minification to run
return string

Minify() public static method

Combines and minifies various files
public static Minify ( this Input, MinificationType Type = MinificationType.HTML ) : string
Input this input strings (file contents)
Type MinificationType Type of minification
return string

Minify() public static method

Combines and minifies various files
public static Minify ( this Input, MinificationType Type = MinificationType.HTML ) : string
Input this input strings (file contents)
Type MinificationType Type of minification
return string