Exemple #1
0
 public CssDeclaration(CssProperty property, CssValue value, string priority)
     : base(NodeKind.Declaration)
 {
     Info = property;
     Value = value;
     Priority = priority;
 }
Exemple #2
0
        public static CssProperty Get(string name)
        {
            CssProperty propertyInfo;

            if (!Map.TryGetValue(name, out propertyInfo))
            {
                propertyInfo = new CssProperty(name);
            }

            return propertyInfo;
        }