MapProperty() public method

Will attempt to map a PropertyInfo to an IPropDef. If it cannot be mapped then will return null.
public MapProperty ( ) : IPropDef
return IPropDef
 /// <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());
        }