Beispiel #1
0
        private StyleList GetStyleList(string styleName, string val)
        {
            StyleList sl = new StyleList();

            string[] arr = val.Split(new char[] { ';', ',' });
            foreach (string element in arr)
            {
                if (element.Trim().Length > 0)
                {
                    sl.Add(element);
                }
            }
            return(sl);
        }
Beispiel #2
0
 /// <summary>
 /// Adds a list to the collection.
 /// </summary>
 /// <param name="property">The name of the property.</param>
 /// <param name="o">The list value.</param>
 public void Add(string property, StyleList o)
 {
     baseTable.Add(property, o);
 }