object Convert(IEnumerable <IOption> options, Type targetType, object parameter, CultureInfo culture)
        {
            var optionViews = new ObservableCollection <OptionView>();

            foreach (var option in options)
            {
                var optionView = new OptionView(option, () => { });
                optionViews.Add(optionView);
            }

            return(optionViews);
        }
        object Convert(OptionsWithNotifier options, Type targetType, object parameter, CultureInfo culture)
        {
            var optionViews = new ObservableCollection <OptionView>();

            if (options.Options is null)
            {
                return(optionViews);
            }
            foreach (var option in options.Options)
            {
                var optionView = new OptionView(option, () => { options.Notify(); });
                optionViews.Add(optionView);
            }

            return(optionViews);
        }