C# Class WebMarkupMin.Core.XhtmlMinifier

XHTML minifier
Inheritance: IMarkupMinifier
Mostrar archivo Open project: Taritsyn/WebMarkupMin Class Usage Examples

Public Methods

Method Description
Minify ( string content ) : MarkupMinificationResult

Minify XHTML content

Minify ( string content, Encoding encoding ) : MarkupMinificationResult

Minify XHTML content

Minify ( string content, bool generateStatistics ) : MarkupMinificationResult

Minify XHTML content

Minify ( string content, string fileContext ) : MarkupMinificationResult

Minify XHTML content

Minify ( string content, string fileContext, Encoding encoding, bool generateStatistics ) : MarkupMinificationResult

Minify XHTML content

XhtmlMinifier ( XhtmlMinificationSettings settings = null, ICssMinifier cssMinifier = null, IJsMinifier jsMinifier = null, ILogger logger = null ) : System.Text

Constructs instance of XHTML minifier

Method Details

Minify() public method

Minify XHTML content
public Minify ( string content ) : MarkupMinificationResult
content string XHTML content
return MarkupMinificationResult

Minify() public method

Minify XHTML content
public Minify ( string content, Encoding encoding ) : MarkupMinificationResult
content string XHTML content
encoding System.Text.Encoding Text encoding
return MarkupMinificationResult

Minify() public method

Minify XHTML content
public Minify ( string content, bool generateStatistics ) : MarkupMinificationResult
content string XHTML content
generateStatistics bool Flag for whether to allow generate minification statistics
return MarkupMinificationResult

Minify() public method

Minify XHTML content
public Minify ( string content, string fileContext ) : MarkupMinificationResult
content string XHTML content
fileContext string File context
return MarkupMinificationResult

Minify() public method

Minify XHTML content
public Minify ( string content, string fileContext, Encoding encoding, bool generateStatistics ) : MarkupMinificationResult
content string XHTML content
fileContext string File context
encoding System.Text.Encoding Text encoding
generateStatistics bool Flag for whether to allow generate minification statistics
return MarkupMinificationResult

XhtmlMinifier() public method

Constructs instance of XHTML minifier
public XhtmlMinifier ( XhtmlMinificationSettings settings = null, ICssMinifier cssMinifier = null, IJsMinifier jsMinifier = null, ILogger logger = null ) : System.Text
settings XhtmlMinificationSettings XHTML minification settings
cssMinifier ICssMinifier CSS minifier
jsMinifier IJsMinifier JS minifier
logger ILogger Logger
return System.Text