To allow discovering if your custom mapper/matcher/projector supports two given types you can implement the optional interfaces below:

  • IMapperCanMap for IMapper
  • IAsyncMapperCanMap for IAsyncMapper
  • IMatcherCanMatch for IMatcher
  • IProjectorCanProject for IProjector

The methods of the interfaces should be thread-safe.

See also Advanced options > Mappers capabilities.