public static GetPdfRptColumnTemplateAttribute ( this info ) : |
||
info | this | Property metadata info |
return |
public static Type GetPdfRptColumnTemplateAttribute(this MemberInfo info)
{
var templateType = info.GetCustomAttributes(true).OfType<ColumnItemsTemplateAttribute>().FirstOrDefault();
if (templateType == null) return null;
return templateType.TemplateType;
}