Habanero.Smooth.PropMapperExtensions.MapProperty C# (CSharp) Method

MapProperty() public static method

Based on the information available for the PropertyInfo (Name, Attributes, DataTypes etc) And a set of Heuristics a Property Definition is created for this PropertyInfo
public static MapProperty ( this propInfo ) : IPropDef
propInfo this
return IPropDef
        public static IPropDef MapProperty(this PropertyInfo propInfo)
        {
            var autoMapper = new PropertyAutoMapper(propInfo);
            return autoMapper.MapProperty();
        }