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
source
TSourceThe source object.
destination
TDestinationThe destination object.
Returns
- TDestination
The mapped destination object.
Type Parameters
TSource
The type of the source object.
TDestination
The 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
source
TSourceThe source object.
Returns
- TDestination
The mapped destination object.
Type Parameters
TSource
The type of the source object.
TDestination
The type of the destination object.