C# Class WebMarkupMin.NUglify.NUglifyCssMinifier

Minifier, which produces minifiction of CSS-code by using the NUglify CSS Minifier
Inheritance: NUglifyMinifierBase, ICssMinifier
ファイルを表示 Open project: Taritsyn/WebMarkupMin Class Usage Examples

Public Methods

Method 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

Method 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 method

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
return WebMarkupMin.Core.CodeMinificationResult

Minify() public method

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
return WebMarkupMin.Core.CodeMinificationResult

NUglifyCssMinifier() public method

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

NUglifyCssMinifier() public method

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