C# 클래스 PdfRpt.Core.Helper.PropertyDataAnnotations

Processing custom data annotations.
파일 보기 프로젝트 열기: VahidN/PdfReport

공개 메소드들

메소드 설명
GetAggregateFunctionAttribute ( this info ) : AggregateFunction?

Returns PdfRptColumnAggregateFunctionAttribute data.

GetCalculatedFieldFormulaAttribute ( this fieldsInfo, string forPropertyName ) : object>.Func

Returns CalculatedFieldFormulaAttribute data.

GetCellsHorizontalAlignmentAttribute ( this info ) : HorizontalAlignment?

Returns PdfRptColumnCellsHorizontalAlignmentAttribute data.

GetColumnIncludeInGroupingAttribute ( this info ) : bool?

Returns IncludeInGroupingAttribute data.

GetColumnIsCalculatedFieldAttribute ( this info ) : bool?

Returns PdfRptColumnIsVisibleAttribute data.

GetColumnIsVisibleAttribute ( this info ) : bool?

Returns PdfRptColumnIsVisibleAttribute data.

GetColumnOrderAttribute ( this info ) : int?

Returns PdfRptColumnOrderAttribute data.

GetColumnPropertyNameAttribute ( this info ) : string

Returns PdfRptColumnPropertyNameAttribute data. Processing order is checking PdfRptColumnPropertyNameAttribute first, then DisplayNameAttribute and finally DescriptionAttribute. If none of these is available, the actual property name will be returned.

GetColumnWidthAttribute ( this info ) : float?

Returns PdfRptColumnPdfRptColumnWidthAttribute data.

GetDataFormatStringAttribute ( this info ) : string

Returns DisplayFormatAttribute data.

GetEnumStringValue ( this value ) : string

Getting string attribute of Enum's value. Processing order is checking DisplayNameAttribute first and then DescriptionAttribute. If none of these is available, value.ToString() will be returned.

GetFieldsInfoOfStronglyTypedListDataSource ( this bodyDataSource ) : System.Reflection.FieldInfo[]

Gets FieldInfo[] Of StronglyTypedListDataSource

GetFixedHeightAttribute ( this info ) : float?

Returns FixedHeightAttribute data.

GetIncludedGroupFieldEqualityComparerAttribute ( this fieldsInfo, string forPropertyName ) : Func

Returns IncludedGroupFieldEqualityComparerAttribute data.

GetMinimumHeightAttribute ( this info ) : float?

Returns MinimumHeightAttribute data.

GetNullDisplayTextAttribute ( this info ) : string

Returns DisplayFormatAttribute data.

GetPdfRptColumnCustomAggregateFunctionAttribute ( this info ) : Type

Returns PdfRptColumnCustomAggregateFunctionAttribute data.

GetPdfRptColumnTemplateAttribute ( this info ) : Type

Returns ColumnTemplateAttribute data.

GetPropertiesInfoOfStronglyTypedListDataSource ( this bodyDataSource ) : System.Reflection.PropertyInfo[]

Gets PropertiesInfo[] Of StronglyTypedListDataSource.

IsStronglyTypedListDataSource ( this bodyDataSource ) : bool

Determines whether a IPdfReportDataSource is type of StronglyTypedListDataSource or not.

메소드 상세

GetAggregateFunctionAttribute() 공개 정적인 메소드

Returns PdfRptColumnAggregateFunctionAttribute data.
public static GetAggregateFunctionAttribute ( this info ) : AggregateFunction?
info this Property metadata info
리턴 AggregateFunction?

GetCalculatedFieldFormulaAttribute() 공개 정적인 메소드

Returns CalculatedFieldFormulaAttribute data.
public static GetCalculatedFieldFormulaAttribute ( this fieldsInfo, string forPropertyName ) : object>.Func
fieldsInfo this current object's FieldInfo[]
forPropertyName string corresponding property
리턴 object>.Func

GetCellsHorizontalAlignmentAttribute() 공개 정적인 메소드

Returns PdfRptColumnCellsHorizontalAlignmentAttribute data.
public static GetCellsHorizontalAlignmentAttribute ( this info ) : HorizontalAlignment?
info this Property metadata info
리턴 HorizontalAlignment?

GetColumnIncludeInGroupingAttribute() 공개 정적인 메소드

Returns IncludeInGroupingAttribute data.
public static GetColumnIncludeInGroupingAttribute ( this info ) : bool?
info this Property metadata info
리턴 bool?

GetColumnIsCalculatedFieldAttribute() 공개 정적인 메소드

Returns PdfRptColumnIsVisibleAttribute data.
public static GetColumnIsCalculatedFieldAttribute ( this info ) : bool?
info this Property metadata info
리턴 bool?

GetColumnIsVisibleAttribute() 공개 정적인 메소드

Returns PdfRptColumnIsVisibleAttribute data.
public static GetColumnIsVisibleAttribute ( this info ) : bool?
info this Property metadata info
리턴 bool?

GetColumnOrderAttribute() 공개 정적인 메소드

Returns PdfRptColumnOrderAttribute data.
public static GetColumnOrderAttribute ( this info ) : int?
info this Property metadata info
리턴 int?

GetColumnPropertyNameAttribute() 공개 정적인 메소드

Returns PdfRptColumnPropertyNameAttribute data. Processing order is checking PdfRptColumnPropertyNameAttribute first, then DisplayNameAttribute and finally DescriptionAttribute. If none of these is available, the actual property name will be returned.
public static GetColumnPropertyNameAttribute ( this info ) : string
info this Property metadata info
리턴 string

GetColumnWidthAttribute() 공개 정적인 메소드

Returns PdfRptColumnPdfRptColumnWidthAttribute data.
public static GetColumnWidthAttribute ( this info ) : float?
info this Property metadata info
리턴 float?

GetDataFormatStringAttribute() 공개 정적인 메소드

Returns DisplayFormatAttribute data.
public static GetDataFormatStringAttribute ( this info ) : string
info this Property metadata info
리턴 string

GetEnumStringValue() 공개 정적인 메소드

Getting string attribute of Enum's value. Processing order is checking DisplayNameAttribute first and then DescriptionAttribute. If none of these is available, value.ToString() will be returned.
public static GetEnumStringValue ( this value ) : string
value this enum value
리턴 string

GetFieldsInfoOfStronglyTypedListDataSource() 공개 정적인 메소드

Gets FieldInfo[] Of StronglyTypedListDataSource
public static GetFieldsInfoOfStronglyTypedListDataSource ( this bodyDataSource ) : System.Reflection.FieldInfo[]
bodyDataSource this data source
리턴 System.Reflection.FieldInfo[]

GetFixedHeightAttribute() 공개 정적인 메소드

Returns FixedHeightAttribute data.
public static GetFixedHeightAttribute ( this info ) : float?
info this Property metadata info
리턴 float?

GetIncludedGroupFieldEqualityComparerAttribute() 공개 정적인 메소드

Returns IncludedGroupFieldEqualityComparerAttribute data.
public static GetIncludedGroupFieldEqualityComparerAttribute ( this fieldsInfo, string forPropertyName ) : Func
fieldsInfo this current object's FieldInfo[]
forPropertyName string corresponding property
리턴 Func

GetMinimumHeightAttribute() 공개 정적인 메소드

Returns MinimumHeightAttribute data.
public static GetMinimumHeightAttribute ( this info ) : float?
info this Property metadata info
리턴 float?

GetNullDisplayTextAttribute() 공개 정적인 메소드

Returns DisplayFormatAttribute data.
public static GetNullDisplayTextAttribute ( this info ) : string
info this Property metadata info
리턴 string

GetPdfRptColumnCustomAggregateFunctionAttribute() 공개 정적인 메소드

Returns PdfRptColumnCustomAggregateFunctionAttribute data.
public static GetPdfRptColumnCustomAggregateFunctionAttribute ( this info ) : Type
info this Property metadata info
리턴 System.Type

GetPdfRptColumnTemplateAttribute() 공개 정적인 메소드

Returns ColumnTemplateAttribute data.
public static GetPdfRptColumnTemplateAttribute ( this info ) : Type
info this Property metadata info
리턴 System.Type

GetPropertiesInfoOfStronglyTypedListDataSource() 공개 정적인 메소드

Gets PropertiesInfo[] Of StronglyTypedListDataSource.
public static GetPropertiesInfoOfStronglyTypedListDataSource ( this bodyDataSource ) : System.Reflection.PropertyInfo[]
bodyDataSource this data source
리턴 System.Reflection.PropertyInfo[]

IsStronglyTypedListDataSource() 공개 정적인 메소드

Determines whether a IPdfReportDataSource is type of StronglyTypedListDataSource or not.
public static IsStronglyTypedListDataSource ( this bodyDataSource ) : bool
bodyDataSource this data source
리턴 bool