C# Class WebMarkupMin.NUglify.NUglifyCssMinifier

Minifier, which produces minifiction of CSS-code by using the NUglify CSS Minifier
Inheritance: NUglifyMinifierBase, ICssMinifier
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 CSS content by using the NUglify CSS Minifier

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

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

NUglifyCssMinifier ( ) : System.Text

Constructs an instance of the NUglify CSS Minifier

NUglifyCssMinifier ( NUglifyCssMinificationSettings settings ) : System.Text

Constructs an instance of the NUglify CSS Minifier

Private Methods

Méthode Description
CreateOriginalCssMinifierSettings ( NUglifyCssMinificationSettings settings, bool isInlineCode ) : CssSettings

Creates a original CSS minifier settings

MapCssSettings ( CssSettings originalSettings, NUglifyCssMinificationSettings settings ) : void

Maps a CSS minifier settings

Method Details

Minify() public méthode

Produces a code minifiction of CSS content by using the NUglify CSS Minifier
public Minify ( string content, bool isInlineCode ) : CodeMinificationResult
content string CSS content
isInlineCode bool Flag whether the content is inline code
Résultat WebMarkupMin.Core.CodeMinificationResult

Minify() public méthode

Produces a code minifiction of CSS content by using the NUglify CSS Minifier
public Minify ( string content, bool isInlineCode, Encoding encoding ) : CodeMinificationResult
content string CSS content
isInlineCode bool Flag whether the content is inline code
encoding System.Text.Encoding Text encoding
Résultat WebMarkupMin.Core.CodeMinificationResult

NUglifyCssMinifier() public méthode

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

NUglifyCssMinifier() public méthode

Constructs an instance of the NUglify CSS Minifier
public NUglifyCssMinifier ( NUglifyCssMinificationSettings settings ) : System.Text
settings NUglifyCssMinificationSettings NUglify CSS Minifier settings
Résultat System.Text