Is it possible to create a generic converter between enum values and ints?
I have a set of similar converters in my project:

```
Object^ SpecificEnumIntConverter::Convert(Object^ value, TypeName targetType, Object^ parameter, String^ language)
{
    const auto asEnum = static_cast<SpecificEnumType>(value);
    const auto asInt = static_cast<int>(asEnum);
    return asInt;
}

Object^ SpecificEnumIntConverter::ConvertBack(Object^ value, TypeName targetType, Object^ parameter, String^ language)
{
    const auto asInt = static_cast<int>(value);
    const auto asEnum = static_cast<SpecificEnumType>(asInt);
    return asEnum;
}

```

These converters are usually used to binding with ViewModel, i.e:

```
<ListBox SelectedIndex="{x:Bind VM.EnumTypeProperty, Mode=TwoWay, Converter={StaticResource SpecificEnumIntConverter}}">

```

I am wondering if it is possible to implement a generic converter.

Thanks in advance and best regards!