Skip to content

Commit

Permalink
Merge pull request MapsterMapper#19 from centur/master
Browse files Browse the repository at this point in the history
fix: fix minor class name typos in README.md
  • Loading branch information
eswann committed Jan 21, 2016
2 parents ad1d3d2 + ef65803 commit 9fa6133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ You can easily create setting for type mapping by `TypeAdapterConfig<TSource, TD
#####Global Settings <a name="SettingGlobal"></a>
If you would like to apply to all type mappings, you can set to global settings

TypeAdaptConfig.GlobalSettings.Default.PreserveReference(true);
TypeAdapterConfig.GlobalSettings.Default.PreserveReference(true);

Then for some type mappings, you can opt-out the option.

TypeAdaptConfig<SimplePoco, SimpleDto>.NewConfig().PreserveReference(false);
TypeAdapterConfig<SimplePoco, SimpleDto>.NewConfig().PreserveReference(false);

#####Setting inheritance <a name="SettingInheritance"></a>
Type mapping will automatically inherit for source type. Ie. if you set up following config.
Expand Down

0 comments on commit 9fa6133

Please sign in to comment.