C# Класс WebMarkupMin.MsAjax.MsAjaxCssMinifier

Minifier, which produces minifiction of CSS-code by using Microsoft Ajax CSS Minifier
Наследование: MsAjaxMinifierBase, ICssMinifier
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Minify() публичный Метод

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
Результат WebMarkupMin.Core.CodeMinificationResult

Minify() публичный Метод

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
Результат WebMarkupMin.Core.CodeMinificationResult

MsAjaxCssMinifier() публичный Метод

Constructs an instance of the Microsoft Ajax CSS Minifier
public MsAjaxCssMinifier ( ) : System.Collections.Generic
Результат System.Collections.Generic

MsAjaxCssMinifier() публичный Метод

Constructs an instance of the Microsoft Ajax CSS Minifier
public MsAjaxCssMinifier ( MsAjaxCssMinificationSettings settings ) : System.Collections.Generic
settings MsAjaxCssMinificationSettings Microsoft Ajax CSS Minifier settings
Результат System.Collections.Generic