private void LoadCustomMappings() { var customMaps = MapperProfileHelper.LoadCustomMappings(Assembly.GetExecutingAssembly()); foreach (var map in customMaps) { map.CreateMappings(this); } }
private void LoadStandardMappings() { var standardMaps = MapperProfileHelper.LoadStandardMappings(Assembly.GetExecutingAssembly()); foreach (var map in standardMaps) { CreateMap(map.Source, map.Destination).ReverseMap(); } }