using System.Globalization;
using System.Windows.Data;
using System.Windows.Markup;

namespace PixiEditor.Helpers.Converters;

internal abstract class MultiValueMarkupConverter : MarkupExtension, IMultiValueConverter
{
    public abstract object Convert(object[] values, Type targetType, object parameter, CultureInfo culture);

    public virtual object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
    {
        throw new NotImplementedException();
    }

    public override object ProvideValue(IServiceProvider serviceProvider) => this;
}
