C# Class WebMarkupMin.Core.XhtmlMinifier

XHTML minifier
Inheritance: IMarkupMinifier
Afficher le fichier Open project: Taritsyn/WebMarkupMin Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Minify XHTML content
public Minify ( string content ) : MarkupMinificationResult
content string XHTML content
Résultat MarkupMinificationResult

Minify() public méthode

Minify XHTML content
public Minify ( string content, Encoding encoding ) : MarkupMinificationResult
content string XHTML content
encoding System.Text.Encoding Text encoding
Résultat MarkupMinificationResult

Minify() public méthode

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

Minify() public méthode

Minify XHTML content
public Minify ( string content, string fileContext ) : MarkupMinificationResult
content string XHTML content
fileContext string File context
Résultat MarkupMinificationResult

Minify() public méthode

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
Résultat MarkupMinificationResult

XhtmlMinifier() public méthode

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
Résultat System.Text