To allow discovering if your custom mapper/matcher/projector supports two given types you can implement the optional interfaces below:
IMapperCanMap
forIMapper
IAsyncMapperCanMap
forIAsyncMapper
IMatcherCanMatch
forIMatcher
IProjectorCanProject
forIProjector
The methods of the interfaces should be thread-safe.
See also Advanced options > Mappers capabilities.