Ejemplo n.º 1
0
        /// <summary>
        /// Creates a new instance of <see cref="HotstringSendMethodSelectedOptions"/> populated with the
        /// values in <paramref name="Options"/>
        /// </summary>
        /// <param name="Options">The Array of Enum Values use to populate the instance</param>
        /// <returns>
        /// Instance of <see cref="HotstringSendMethodSelectedOptions"/>. If <paramref name="Options"/> is null
        /// then return instance will have no values.
        /// </returns>
        public new HotstringSendMethodSelectedOptions FromArray(Enums.HotStringSendEnum[] Options)
        {
            var so = SelectedOptions <Enums.HotStringSendEnum> .FromArray(Options);

            HotstringSendMethodSelectedOptions hs = new HotstringSendMethodSelectedOptions();

            hs.Keys    = so.Keys;
            hs.Options = so.Options;

            return(hs);
        }