C# 클래스 WebMarkupMin.Yui.YuiJsMinifier

Minifier, which produces minifiction of JS-code by using YUI JS Compressor for .NET
상속: YuiMinifierBase, IJsMinifier
파일 보기 프로젝트 열기: Taritsyn/WebMarkupMin 1 사용 예제들

공개 메소드들

메소드 설명
Minify ( string content, bool isInlineCode ) : CodeMinificationResult

Produces a code minifiction of JS content by using the YUI JS Compressor for .NET

Minify ( string content, bool isInlineCode, Encoding encoding ) : CodeMinificationResult

Produces a code minifiction of JS content by using the YUI JS Compressor for .NET

YuiJsMinifier ( ) : System.Collections.Generic

Constructs an instance of the YUI JS Minifier

YuiJsMinifier ( YuiJsMinificationSettings settings ) : System.Collections.Generic

Constructs an instance of the YUI JS Minifier

비공개 메소드들

메소드 설명
ApplyJsSettingsToOriginalJsMinifier ( Yahoo.Yui.Compressor.JavaScriptCompressor originalMinifier, YuiJsMinificationSettings settings ) : void

Applies a JS settings to original JS minifier

CreateOriginalJsMinifierInstance ( YuiJsMinificationSettings settings ) : Yahoo.Yui.Compressor.JavaScriptCompressor

Creates a instance of original JS minifier

메소드 상세

Minify() 공개 메소드

Produces a code minifiction of JS content by using the YUI JS Compressor for .NET
public Minify ( string content, bool isInlineCode ) : CodeMinificationResult
content string JS content
isInlineCode bool Flag whether the content is inline code
리턴 WebMarkupMin.Core.CodeMinificationResult

Minify() 공개 메소드

Produces a code minifiction of JS content by using the YUI JS Compressor for .NET
public Minify ( string content, bool isInlineCode, Encoding encoding ) : CodeMinificationResult
content string JS content
isInlineCode bool Flag whether the content is inline code
encoding System.Text.Encoding Text encoding
리턴 WebMarkupMin.Core.CodeMinificationResult

YuiJsMinifier() 공개 메소드

Constructs an instance of the YUI JS Minifier
public YuiJsMinifier ( ) : System.Collections.Generic
리턴 System.Collections.Generic

YuiJsMinifier() 공개 메소드

Constructs an instance of the YUI JS Minifier
public YuiJsMinifier ( YuiJsMinificationSettings settings ) : System.Collections.Generic
settings YuiJsMinificationSettings Settings of YUI JS Minifier
리턴 System.Collections.Generic