public void Add(IMappingProvider provider)
 {
     Add(provider.GetClassMapping());
 }
示例#2
0
        private void MergeMap(Type type, IMappingProvider mapping)
        {
            Type typeToMap = GetTypeToMap(type);

            autoMapper.MergeMap(typeToMap, mapping.GetClassMapping(), new List <string>(mapping.GetIgnoredProperties()));
        }