Esempio 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 ISelector[] selectors)
        {
            var list = new ListSelector();

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

            return list;
        }
Esempio 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 ISelector[] selectors)
        {
            var list = new ListSelector();

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

            return(list);
        }