Beispiel #1
0
        public override void CreateMap(MapperProfile mapperProfile, Type type)
        {
            if (TargetTypes.IsNullOrEmpty())
            {
                return;
            }

            foreach (var targetType in TargetTypes)
            {
                mapperProfile.CreateMap(type, targetType);
            }
        }
 public abstract void CreateMap(MapperProfile mapperProfile, Type type);