C# 클래스 BlogEngine.Core.Web.Scripting.JavascriptMinifier

Helper class for performing minification of Javascript and CSS.
This class is basically a wrapper for the AjaxMin library(lib/AjaxMin.dll). http://ajaxmin.codeplex.com/ There are no symbols that come with the AjaxMin dll, so this class gives a bit of intellisense help for basic control. AjaxMin is a pretty dense library with lots of different settings, so everyone's encouraged to use it directly if they want to.
파일 보기 프로젝트 열기: rasmuskl/ReSharperCourse 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateCodeSettings CodeSettings

공개 메소드들

메소드 설명
JavascriptMinifier ( ) : System

Creates a new Minifier instance.

Minify ( string script ) : string

Gets the minified version of the passed in script.

비공개 메소드들

메소드 설명
CreateCodeSettings ( ) : CodeSettings

Builds the required CodeSettings class needed for the Ajax Minifier.

메소드 상세

JavascriptMinifier() 공개 메소드

Creates a new Minifier instance.
public JavascriptMinifier ( ) : System
리턴 System

Minify() 공개 메소드

Gets the minified version of the passed in script.
public Minify ( string script ) : string
script string
리턴 string