Method ConvertOrNull
ConvertOrNull(TSource)
Converts source enum value to the destination enum value if mapping exists.
Returns null
if no mapping is specified.
public abstract TDest? ConvertOrNull(TSource value)
Parameters
value
TSourceValue to convert.
Returns
- TDest?