public ClassAutoMapper(Type type) { if (type == null) throw new ArgumentNullException("type"); TypeWrapper = type.ToTypeWrapper(); } ///<summary>