Implementation of SimpleMapper that uses lambda functions for conversion.
Function to convert from T2 to T1
Function to convert from T1 to T2
The first type
The second type
Converts from of type T2 to type T1 using this mapper.
Converts from of type T1 to type T2 using this mapper.