C# Класс MoreInternals.Compiler.Tasks.Minify

This task re-writes values so that they take as little space as possible. This includes coercing units (if the inch version is smaller than the centimeter it will be used, and so on) and choosing ideal color versions (hex triples when possible, dropping alpha when not needed, and so on).
Показать файл Открыть проект

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

Метод Описание
Task ( List blocks ) : List

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

Метод Описание
ForQuery ( MediaQuery query ) : MediaQuery
MinifyColor ( ColorValue value ) : ColorValue
MinifyLinearGradient ( LinearGradientValue val ) : LinearGradientValue
MinifyNumberValue ( NumberValue value ) : NumberValue
MinifyNumberWithUnit ( NumberWithUnitValue value ) : NumberWithUnitValue
MinifyProperty ( Property rule ) : Property
MinifyPropertyList ( IEnumerable p ) : IEnumerable
MinifyRadialGradient ( RadialGradientValue val ) : RadialGradientValue
MinifyValue ( Value value ) : Value
TryMinifyNumberWithUnit ( NumberWithUnitValue value, decimal>.ReadOnlyDictionary possibleConversions, NumberWithUnitValue &smallest ) : void
ValueToString ( Value value ) : string

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

Task() публичный статический Метод

public static Task ( List blocks ) : List
blocks List
Результат List