C# 클래스 WebMarkupMin.Core.XhtmlMinifier

XHTML minifier
상속: IMarkupMinifier
파일 보기 프로젝트 열기: Taritsyn/WebMarkupMin 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Minify() 공개 메소드

Minify XHTML content
public Minify ( string content ) : MarkupMinificationResult
content string XHTML content
리턴 MarkupMinificationResult

Minify() 공개 메소드

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

Minify() 공개 메소드

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

Minify() 공개 메소드

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

Minify() 공개 메소드

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
리턴 MarkupMinificationResult

XhtmlMinifier() 공개 메소드

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
리턴 System.Text