Esempio n. 1
0
 public string ToUsstring()
 {
     if (sheet == null)
     {
         PopulateSheet();
     }
     return(StyleSheetToUss.ToUssString(sheet, options));
 }
Esempio n. 2
0
        public static string GetStateRuleSelectorStr(string baseSelectorStr, string id)
        {
            var parts = GetStateRuleSelectorParts(baseSelectorStr, id);
            var sb    = new StringBuilder();

            StyleSheetToUss.ToUssString(StyleSelectorRelationship.None, parts, sb);
            return(sb.ToString());
        }
Esempio n. 3
0
 public static bool CompareTo(Color lhs, Color rhs)
 {
     return(StyleSheetToUss.ToUssString(lhs) == StyleSheetToUss.ToUssString(rhs));
 }