/// <summary> /// Based on the information available for the PropertyInfo (Name, Attributes, DataTypes etc) /// And a set of Heuristics a Property Definition is created for this <see cref="PropertyInfo"/> /// </summary> /// <param name="propInfo"></param> /// <returns></returns> public static IPropDef MapProperty(this PropertyInfo propInfo) { var autoMapper = new PropertyAutoMapper(propInfo); return autoMapper.MapProperty(); }
/// <summary> /// Based on the information available for the PropertyInfo (Name, Attributes, DataTypes etc) /// And a set of Heuristics a Property Definition is created for this <see cref="PropertyInfo"/> /// </summary> /// <param name="propInfo"></param> /// <returns></returns> public static IPropDef MapProperty(this PropertyInfo propInfo) { var autoMapper = new PropertyAutoMapper(propInfo); return(autoMapper.MapProperty()); }