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).
파일 보기 프로젝트 열기: kevin-montrose/More

공개 메소드들

메소드 설명
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