PdfRpt.Core.Helper.PropertyDataAnnotations.GetPdfRptColumnCustomAggregateFunctionAttribute C# (CSharp) 메소드

GetPdfRptColumnCustomAggregateFunctionAttribute() 공개 정적인 메소드

Returns PdfRptColumnCustomAggregateFunctionAttribute data.
public static GetPdfRptColumnCustomAggregateFunctionAttribute ( this info ) : Type
info this Property metadata info
리턴 System.Type
        public static Type GetPdfRptColumnCustomAggregateFunctionAttribute(this MemberInfo info)
        {
            var aggregateFunctionType = info.GetCustomAttributes(true).OfType<CustomAggregateFunctionAttribute>().FirstOrDefault();
            if (aggregateFunctionType == null) return null;
            return aggregateFunctionType.AggregateFunctionType;
        }