コード例 #1
0
        internal Element_ToastInput ConvertToElement()
        {
            var input = new Element_ToastInput()
            {
                Type = ToastInputType.Selection,
                Id = Id,
                DefaultInput = DefaultSelectionBoxItemId,
                Title = Title
            };

            foreach (var item in Items)
                input.Children.Add(item.ConvertToElement());

            return input;
        }
コード例 #2
0
        internal Element_ToastInput ConvertToElement()
        {
            var input = new Element_ToastInput()
            {
                Type         = ToastInputType.Selection,
                Id           = Id,
                DefaultInput = DefaultSelectionBoxItemId,
                Title        = Title
            };

            foreach (var item in Items)
            {
                input.Children.Add(item.ConvertToElement());
            }

            return(input);
        }