C# Класс WebMarkupMin.NUglify.NUglifyCssMinifier

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

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

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

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

Метод Описание
CreateOriginalCssMinifierSettings ( NUglifyCssMinificationSettings settings, bool isInlineCode ) : CssSettings

Creates a original CSS minifier settings

MapCssSettings ( CssSettings originalSettings, NUglifyCssMinificationSettings settings ) : void

Maps a CSS minifier settings

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

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

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

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

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

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

Constructs an instance of the NUglify CSS Minifier
public NUglifyCssMinifier ( ) : System.Text
Результат System.Text

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

Constructs an instance of the NUglify CSS Minifier
public NUglifyCssMinifier ( NUglifyCssMinificationSettings settings ) : System.Text
settings NUglifyCssMinificationSettings NUglify CSS Minifier settings
Результат System.Text