예제 #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;
        }
예제 #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);
        }