Method Convert
Convert(TSource, TDest)
Converts source enum value to the destination enum value.
public abstract TDest Convert(TSource value, TDest defaultValue = default)
Parameters
value
TSourceValue to convert.
defaultValue
TDestDefault value used if mapping not found.
Returns
- TDest