Exemplo n.º 1
0
        /// <summary>
        /// Creates a new selector group with the given selectors.
        /// </summary>
        /// <param name="selectors">The selectors.</param>
        /// <returns>The created list selector.</returns>
        internal static ListSelector Create(params Selector[] selectors)
        {
            var list = new ListSelector();

            for (int i = 0; i < selectors.Length; i++)
                list.selectors.Add(selectors[i]);

            return list;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates a new selector group with the given selectors.
        /// </summary>
        /// <param name="selectors">The selectors.</param>
        /// <returns>The created list selector.</returns>
        internal static ListSelector Create(params Selector[] selectors)
        {
            var list = new ListSelector();

            for (int i = 0; i < selectors.Length; i++)
            {
                list.selectors.Add(selectors[i]);
            }

            return(list);
        }