C# Class WebMarkupMin.MsAjax.MsAjaxCssMinifier

Minifier, which produces minifiction of CSS-code by using Microsoft Ajax CSS Minifier
Inheritance: MsAjaxMinifierBase, ICssMinifier
Mostra file 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 Microsoft Ajax CSS Minifier

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

Produces a code minifiction of CSS content by using the Microsoft Ajax CSS Minifier

MsAjaxCssMinifier ( ) : System.Collections.Generic

Constructs an instance of the Microsoft Ajax CSS Minifier

MsAjaxCssMinifier ( MsAjaxCssMinificationSettings settings ) : System.Collections.Generic

Constructs an instance of the Microsoft Ajax CSS Minifier

Private Methods

Method Description
CreateOriginalCssMinifierSettings ( MsAjaxCssMinificationSettings settings, bool isInlineCode ) : Microsoft.Ajax.Utilities.CssSettings

Creates a original CSS minifier settings

MapCssSettings ( Microsoft.Ajax.Utilities.CssSettings originalSettings, MsAjaxCssMinificationSettings settings ) : void

Maps a CSS minifier settings

Method Details

Minify() public method

Produces a code minifiction of CSS content by using the Microsoft Ajax 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 Microsoft Ajax 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

MsAjaxCssMinifier() public method

Constructs an instance of the Microsoft Ajax CSS Minifier
public MsAjaxCssMinifier ( ) : System.Collections.Generic
return System.Collections.Generic

MsAjaxCssMinifier() public method

Constructs an instance of the Microsoft Ajax CSS Minifier
public MsAjaxCssMinifier ( MsAjaxCssMinificationSettings settings ) : System.Collections.Generic
settings MsAjaxCssMinificationSettings Microsoft Ajax CSS Minifier settings
return System.Collections.Generic