Skip to content

Commit

Permalink
Added extension example at top
Browse files Browse the repository at this point in the history
  • Loading branch information
eswann committed Jan 22, 2016
1 parent dabe089 commit 803e11e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
```
var result = TypeAdapter.Adapt<NewType>(original);
```
or with extensions
```
var result = original.Adapt<NewType>();
```
### Get it
```
PM> Install-Package Mapster
Expand Down

0 comments on commit 803e11e

Please sign in to comment.