System.Collections.Generic.List.Add(simpleSelector)

Here are the examples of the csharp api System.Collections.Generic.List.Add(simpleSelector) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 View Source File : SelectorParser.cs
License : MIT License
Project Creator : Kooboo

public static List<simpleSelector> parseSelectorGroup(string selectorGroup)
        {
            List<simpleSelector> list = new List<simpleSelector>();

            string[] selectorlist = selectorGroup.Split(',');
            foreach (var item in selectorlist)
            {
                if (!string.IsNullOrEmpty(item.Trim()))
                {
                  list.Add(parseOneSelector(item.Trim()));
                }

            }

            return list;
        }