public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture) => Coder.CanEncode(values[0] as string, (Coder.CodePage)values[1]);
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) => Coder.CanEncode(value as string, Helpers.ParseEnum <Coder.CodePage>(parameter as string));
public bool CanEncode(Coder.CodePage codePage) => Coder.CanEncode(Data, codePage);