SimpleObjectMapper 1.2.2
dotnet add package SimpleObjectMapper --version 1.2.2
NuGet\Install-Package SimpleObjectMapper -Version 1.2.2
<PackageReference Include="SimpleObjectMapper" Version="1.2.2" />
paket add SimpleObjectMapper --version 1.2.2
#r "nuget: SimpleObjectMapper, 1.2.2"
// Install SimpleObjectMapper as a Cake Addin #addin nuget:?package=SimpleObjectMapper&version=1.2.2 // Install SimpleObjectMapper as a Cake Tool #tool nuget:?package=SimpleObjectMapper&version=1.2.2
Simple object mapping library which consists of lightweight library of mapping interfaces, attributes and helper methods with code analyser and generator for generating mapping boilerplate code.
What is the difference between this mapper and other object mappers:
- No reflection: code is generated and compiled along with other hand written code.
- Refactoring friendly: if someone changes property which is part of mapping code, project will not compile any more.
- No magic: from generated code you see exactly what gets copied and what does not. No need to run application to see result of mapping code.
Features:
- Generates mapping code based on mapping interfaces or mapping attribute. Detailed examples of usage are on the project site.
- Generates mapping between two objects for properties that are named the same and have the same type.
- Only public properties are considered and source getter and target setter must be public.
- If source and target types are collections, mapping code will copy objects from one collection to another if generic type is the same. Non generic collections are not supported.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.2.2 | 1,993 | 2/20/2016 |
1.1.0 | 1,310 | 2/3/2016 |
1.0.5868.37768 | 1,279 | 1/25/2016 |
Corrected previous release where framework library in package was not updated.