Skip to content

Commit

Permalink
update readme again
Browse files Browse the repository at this point in the history
  • Loading branch information
schneidenbach committed May 23, 2017
1 parent 4ccad53 commit 41e61f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class Program
public void Main()
{
AutoMapper.Mapper.Initialize(config => {
typeof(Program).Assembly.MapTypes(config);
typeof(Program).Assembly.MapTypes(config); //or use typeof(Program).GetTypeInfo().Assembly if using .NET Standard
});

var person = new Person { FirstName = "John", LastName = "Lackey" };
Expand Down

0 comments on commit 41e61f0

Please sign in to comment.