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;
        }