var config = new MapperConfiguration(cfg => { cfg.AddProfile<Profile1>(); cfg.AddProfile<Profile2>();
};
private class Profile1 : Profile { public Profile1() { this.CreateMap<ASource, ADest>()... } }
private class Profile2 : Profile { public Profile2() { this.CreateMap<ASource, ADest>()... } }
--
You received this message because you are subscribed to the Google Groups "AutoMapper-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to automapper-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to automapper-use...@googlegroups.com.