C# 클래스 WebMarkupMin.NUglify.NUglifyJsMinifier

Minifier, which produces minifiction of JS-code by using the NUglify JS Minifier
상속: NUglifyMinifierBase, IJsMinifier
파일 보기 프로젝트 열기: Taritsyn/WebMarkupMin 1 사용 예제들

공개 메소드들

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

Produces a code minifiction of JS content by using the NUglify JS Minifier

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

Produces a code minifiction of JS content by using the NUglify JS Minifier

NUglifyJsMinifier ( ) : System.Text

Constructs an instance of the NUglify JS Minifier

NUglifyJsMinifier ( NUglifyJsMinificationSettings settings ) : System.Text

Constructs instance of NUglify JS Minifier

비공개 메소드들

메소드 설명
CreateOriginalJsMinifierSettings ( NUglifyJsMinificationSettings settings, bool isInlineCode ) : CodeSettings

Creates a original JS minifier settings

MapJsSettings ( CodeSettings originalSettings, NUglifyJsMinificationSettings settings ) : void

Maps a JS minifier settings

메소드 상세

Minify() 공개 메소드

Produces a code minifiction of JS content by using the NUglify JS Minifier
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 NUglify JS Minifier
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

NUglifyJsMinifier() 공개 메소드

Constructs an instance of the NUglify JS Minifier
public NUglifyJsMinifier ( ) : System.Text
리턴 System.Text

NUglifyJsMinifier() 공개 메소드

Constructs instance of NUglify JS Minifier
public NUglifyJsMinifier ( NUglifyJsMinificationSettings settings ) : System.Text
settings NUglifyJsMinificationSettings NUglify JS Minifier settings
리턴 System.Text