C# Класс Rock.Reporting.DataSelect.Person.AgeSelect

Наследование: DataSelectComponent
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateChildControls ( System parentControl ) : System.Web.UI.Control[]

Creates the child controls.

GetExpression ( RockContext context, MemberExpression entityIdProperty, string selection ) : Expression

Gets the expression.

GetSelection ( System controls ) : string

Gets the selection.

GetTitle ( Type entityType ) : string

Gets the title.

RenderControls ( System parentControl, System writer, System controls ) : void

Renders the controls.

SetSelection ( System controls, string selection ) : void

Sets the selection.

SortProperties ( string selection ) : string

Comma-delimited list of the Entity properties that should be used for Sorting. Normally, you should leave this as null which will make it sort on the returned field To disable sorting for this field, return string.Empty;

SortReversed ( string selection ) : bool

Override this and set to true to have this field sort in the opposite direction Normally this should be left as false unless there is a special case where it makes sense have it sort reversed

Описание методов

CreateChildControls() публичный Метод

Creates the child controls.
public CreateChildControls ( System parentControl ) : System.Web.UI.Control[]
parentControl System
Результат System.Web.UI.Control[]

GetExpression() публичный Метод

Gets the expression.
public GetExpression ( RockContext context, MemberExpression entityIdProperty, string selection ) : Expression
context Rock.Data.RockContext The context.
entityIdProperty System.Linq.Expressions.MemberExpression The entity identifier property.
selection string The selection.
Результат System.Linq.Expressions.Expression

GetSelection() публичный Метод

Gets the selection.
public GetSelection ( System controls ) : string
controls System The controls.
Результат string

GetTitle() публичный Метод

Gets the title.
public GetTitle ( Type entityType ) : string
entityType System.Type
Результат string

RenderControls() публичный Метод

Renders the controls.
public RenderControls ( System parentControl, System writer, System controls ) : void
parentControl System The parent control.
writer System The writer.
controls System The controls.
Результат void

SetSelection() публичный Метод

Sets the selection.
public SetSelection ( System controls, string selection ) : void
controls System The controls.
selection string The selection.
Результат void

SortProperties() публичный Метод

Comma-delimited list of the Entity properties that should be used for Sorting. Normally, you should leave this as null which will make it sort on the returned field To disable sorting for this field, return string.Empty;
public SortProperties ( string selection ) : string
selection string
Результат string

SortReversed() публичный Метод

Override this and set to true to have this field sort in the opposite direction Normally this should be left as false unless there is a special case where it makes sense have it sort reversed
public SortReversed ( string selection ) : bool
selection string The selection.
Результат bool