Mapster 3.0.4

A fast, fun and stimulating object to object mapper.  Kind of like AutoMapper, just simpler and way, way faster.

There is a newer version of this package available.
See the version list below for details.
Install-Package Mapster -Version 3.0.4
dotnet add package Mapster --version 3.0.4
<PackageReference Include="Mapster" Version="3.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Mapster --version 3.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

breaking change: Change BaseAdapter signature
breaking change: EnableNonPublicMembers required boolean arg to make it consistent with other settings
breaking change: Remove Project method which marked as obsoleted
breaking change: Change NoInherit to AllowImplicitSourceInheritance
feature: #104, #96, #52 Include derived type mapping settings
feature: #98 Generic types mapping
feature: #76 Improve debuggability
feature: Map enum by name (sp thx to klesouza)
feature: Rule-based member matching settings
feature: Rule-based naming
feature: Options for MapWith and MapToTargetWith to apply setting
feature: IgnoreNonMapped setting
feature: AdaptMember, AdaptIgnore attributes
feature: Map & Ignore setting now works with IDictionary<string, T>
feature: Map is now working with non-public members
feature: Fork config
fix: #111 Infinite time to map highly bound classes
fix: #109 RuntimeBinderException if TSource is a non public class
fix: #102 PreserveReference and "An item with the same key has already been added." ArgumentException
fix: #100 MapToTargetWith not consistent with how MapWith works
fix: Projection generation error from casting

Version History

Version Downloads Last updated
4.1.0 4,810 6/15/2019
4.0.0 26,473 4/13/2019
3.3.2 21,520 3/6/2019
3.3.1 17,692 2/5/2019
3.3.0 3,047 1/29/2019
3.2.0 85,793 9/9/2018
3.1.8 139,745 11/16/2017
3.1.7 1,049 11/11/2017
3.1.6 15,110 10/15/2017
3.1.5 1,305 10/9/2017
3.1.4 2,626 10/1/2017
3.1.3 22,206 8/22/2017
3.1.1 14,858 6/19/2017
3.1.0 3,261 6/11/2017
3.0.4 2,927 5/28/2017
2.6.1 26,790 12/8/2016
2.6.0 650 12/3/2016
2.5.0 26,904 8/7/2016
2.4.3 1,937 7/14/2016
2.4.2 715 7/4/2016
2.4.1 725 6/22/2016
2.4.0 585 6/18/2016
2.3.0 4,984 3/18/2016
2.1.2 3,070 2/15/2016
2.1.1 724 1/29/2016
2.1.0 826 1/25/2016
2.0.4 543 1/21/2016
2.0.3 554 1/20/2016
2.0.2 483 1/19/2016
2.0.1 492 1/19/2016
2.0.0 477 1/19/2016
1.14.0 10,333 3/4/2015
1.12.0 629 3/2/2015
Show less