public static string GetSettingName(PropertyInfo propertyInfo)
{
var attribute = propertyInfo.GetCustomAttribute<SettingPropertyAttribute>();
if (null != attribute && null != attribute.SettingName)
{
return attribute.SettingName;
}
return propertyInfo.Name;
}