C# Class WebMarkupMin.NUglify.NUglifyJsMinifier

Minifier, which produces minifiction of JS-code by using the NUglify JS Minifier
Inheritance: NUglifyMinifierBase, IJsMinifier
Afficher le fichier Open project: Taritsyn/WebMarkupMin Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
CreateOriginalJsMinifierSettings ( NUglifyJsMinificationSettings settings, bool isInlineCode ) : CodeSettings

Creates a original JS minifier settings

MapJsSettings ( CodeSettings originalSettings, NUglifyJsMinificationSettings settings ) : void

Maps a JS minifier settings

Method Details

Minify() public méthode

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
Résultat WebMarkupMin.Core.CodeMinificationResult

Minify() public méthode

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
Résultat WebMarkupMin.Core.CodeMinificationResult

NUglifyJsMinifier() public méthode

Constructs an instance of the NUglify JS Minifier
public NUglifyJsMinifier ( ) : System.Text
Résultat System.Text

NUglifyJsMinifier() public méthode

Constructs instance of NUglify JS Minifier
public NUglifyJsMinifier ( NUglifyJsMinificationSettings settings ) : System.Text
settings NUglifyJsMinificationSettings NUglify JS Minifier settings
Résultat System.Text