public void Add(IMappingProvider provider) { Add(provider.GetClassMapping()); }
private void MergeMap(Type type, IMappingProvider mapping) { Type typeToMap = GetTypeToMap(type); autoMapper.MergeMap(typeToMap, mapping.GetClassMapping(), new List <string>(mapping.GetIgnoredProperties())); }