Method | Description | |
---|---|---|
HtmlMinifier ( |
Constructs instance of HTML minifier
|
|
Minify ( string content ) : |
Minify HTML content
|
|
Minify ( string content, |
Minify HTML content
|
|
Minify ( string content, bool generateStatistics ) : |
Minify HTML content
|
|
Minify ( string content, string fileContext ) : |
Minify HTML content
|
|
Minify ( string content, string fileContext, |
Minify HTML content
|
public HtmlMinifier ( |
||
settings | HTML minification settings | |
cssMinifier | ICssMinifier | CSS minifier |
jsMinifier | IJsMinifier | JS minifier |
logger | ILogger | Logger |
return | System.Text |
public Minify ( string content ) : |
||
content | string | HTML content |
return |
public Minify ( string content, |
||
content | string | HTML content |
encoding | Text encoding | |
return |
public Minify ( string content, bool generateStatistics ) : |
||
content | string | HTML content |
generateStatistics | bool | Flag for whether to allow generate minification statistics |
return |
public Minify ( string content, string fileContext ) : |
||
content | string | HTML content |
fileContext | string | File context |
return |
public Minify ( string content, string fileContext, |
||
content | string | HTML content |
fileContext | string | File context |
encoding | Text encoding | |
generateStatistics | bool | Flag for whether to allow generate minification statistics |
return |