Object Mapper NuGet Package

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.




Got any Object Mapper Question?





Info

Version: 1.2.2
Author(s): Nejc Skofic
Last Update: Saturday, February 20, 2016
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/nejcskofic/ObjectMapper
NuGet Url: https://www.nuget.org/packages/SimpleObjectMapper


Install
Install-Package SimpleObjectMapper
dotnet add package SimpleObjectMapper
paket add SimpleObjectMapper
SimpleObjectMapper Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

1

days-since-last-release

3197