C# Class Rock.Reporting.DataFilter.Group.ContainsPeopleFilter

Inheritance: DataFilterComponent
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode Description
CreateChildControls ( Type entityType, FilterField filterControl ) : System.Web.UI.Control[]

Creates the model representation of the child controls used to display and edit the filter settings.

FormatSelection ( Type entityType, string selection ) : string

Provides a user-friendly description of the specified filter values.

GetClientFormatSelection ( Type entityType ) : string

Formats the selection on the client-side. When the filter is collapsed by the user, the Filterfield control will set the description of the filter to whatever is returned by this property. If including script, the controls parent container can be referenced through a '$content' variable that is set by the control before referencing this property.

GetExpression ( Type entityType, IService serviceInstance, System.Linq.Expressions.ParameterExpression parameterExpression, string selection ) : Expression

Creates a Linq Expression that can be applied to an IQueryable to filter the result set.

GetSelection ( Type entityType, Control controls ) : string

Gets a formatted string representing the current filter control values.

GetTitle ( Type entityType ) : string

Gets the user-friendly title used to identify the filter component.

RenderControls ( Type entityType, FilterField filterControl, System.Web.UI.HtmlTextWriter writer, Control controls ) : void

Renders the child controls used to display and edit the filter settings for HTML presentation.

SetSelection ( Type entityType, Control controls, string selection ) : void

Sets the filter control values from a formatted string.

Method Details

CreateChildControls() public méthode

Creates the model representation of the child controls used to display and edit the filter settings.
public CreateChildControls ( Type entityType, FilterField filterControl ) : System.Web.UI.Control[]
entityType System.Type The System Type of the entity to which the filter will be applied.
filterControl Rock.Web.UI.Controls.FilterField The control that serves as the container for the filter controls.
Résultat System.Web.UI.Control[]

FormatSelection() public méthode

Provides a user-friendly description of the specified filter values.
public FormatSelection ( Type entityType, string selection ) : string
entityType System.Type The System Type of the entity to which the filter will be applied.
selection string A formatted string representing the filter settings.
Résultat string

GetClientFormatSelection() public méthode

Formats the selection on the client-side. When the filter is collapsed by the user, the Filterfield control will set the description of the filter to whatever is returned by this property. If including script, the controls parent container can be referenced through a '$content' variable that is set by the control before referencing this property.
public GetClientFormatSelection ( Type entityType ) : string
entityType System.Type The System Type of the entity to which the filter will be applied.
Résultat string

GetExpression() public méthode

Creates a Linq Expression that can be applied to an IQueryable to filter the result set.
public GetExpression ( Type entityType, IService serviceInstance, System.Linq.Expressions.ParameterExpression parameterExpression, string selection ) : Expression
entityType System.Type The type of entity in the result set.
serviceInstance IService A service instance that can be queried to obtain the result set.
parameterExpression System.Linq.Expressions.ParameterExpression The input parameter that will be injected into the filter expression.
selection string A formatted string representing the filter settings.
Résultat System.Linq.Expressions.Expression

GetSelection() public méthode

Gets a formatted string representing the current filter control values.
public GetSelection ( Type entityType, Control controls ) : string
entityType System.Type The System Type of the entity to which the filter will be applied.
controls System.Web.UI.Control The collection of controls used to set the filter values.
Résultat string

GetTitle() public méthode

Gets the user-friendly title used to identify the filter component.
public GetTitle ( Type entityType ) : string
entityType System.Type The System Type of the entity to which the filter will be applied.
Résultat string

RenderControls() public méthode

Renders the child controls used to display and edit the filter settings for HTML presentation.
public RenderControls ( Type entityType, FilterField filterControl, System.Web.UI.HtmlTextWriter writer, Control controls ) : void
entityType System.Type The System Type of the entity to which the filter will be applied.
filterControl Rock.Web.UI.Controls.FilterField The control that serves as the container for the controls being rendered.
writer System.Web.UI.HtmlTextWriter The writer being used to generate the HTML for the output page.
controls System.Web.UI.Control The model representation of the child controls for this component.
Résultat void

SetSelection() public méthode

Sets the filter control values from a formatted string.
public SetSelection ( Type entityType, Control controls, string selection ) : void
entityType System.Type The System Type of the entity to which the filter will be applied.
controls System.Web.UI.Control The collection of controls used to set the filter values.
selection string A formatted string representing the filter settings.
Résultat void