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