Method Map
Map<TSource, TDestination>(TSource, TDestination)
Maps the source object to the destination object.
public TDestination Map<TSource, TDestination>(TSource source, TDestination destination)
Parameters
sourceTSourceThe source object.
destinationTDestinationThe destination object.
Returns
- TDestination
The mapped destination object.
Type Parameters
TSourceThe type of the source object.
TDestinationThe type of the destination object.
Map<TSource, TDestination>(TSource)
Maps the source object to the destination object.
public TDestination Map<TSource, TDestination>(TSource source)
Parameters
sourceTSourceThe source object.
Returns
- TDestination
The mapped destination object.
Type Parameters
TSourceThe type of the source object.
TDestinationThe type of the destination object.