Skip to content

Commit

Permalink
Merge pull request #12 from rena0157/update-readme
Browse files Browse the repository at this point in the history
Updating Read Me
  • Loading branch information
rena0157 authored Dec 7, 2021
2 parents 864988b + c38d9cb commit 791c344
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,11 @@
A simple mediator pattern based object to object mapper.

## How to Install

Release Version on [NuGet](https://www.nuget.org/packages/Mapr/)
```
dotnet add package Mapr --version xxx
```

Pre-Release Version (Alpha / Beta) on [GitHub](https://github.com/rena0157/mapr/packages/)
```
dotnet add package Mapr --version xxx
```

## Why Mapr?

- Does not rely on a naming contract for properties
- Mapping of immutable objects.
- Easily test and mock maps.
Expand All @@ -28,9 +20,8 @@ Although there are many mapping libraries out there, Mapr takes a different appr
No Expression tree configuration or magic behind the scenes. Just a simple mapper.

## How does it work?

In a nutshell, all inheritors of `IMap<TSource, TDestination>` are registered in a DI container,
see Mapr.DependencyInjection for `IServiceCollection`.
see `Mapr.DependencyInjection` for `IServiceCollection` integration.

These `IMap` implementations are then loaded and injected using the DI container in the mapper whenever a
`Map<TSource, TDestination>(sourceObject)` is called.
Expand Down

0 comments on commit 791c344

Please sign in to comment.