//map source to an existing target public static TTarget Map <TSource, TTarget>(TSource source, TTarget target) { target = MapperFactory.GetMapper <TSource, TTarget>().Map(source, target); return(target); }
static Mapper() { MapperFactory.AddMapper <CultureInfo, CultureInfo>(new CultureInfoTypeMapper()); }