C# Class Rock.Reporting.ComparisonHelper

Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode Description
ComparisonControl ( ComparisonType supportedComparisonTypes, bool required = true ) : RockDropDownList

Gets a dropdownlist of the supported comparison types

ComparisonExpression ( ComparisonType comparisonType, MemberExpression property, Expression value, Expression value2 = null ) : Expression

Gets the comparison expression.

Method Details

ComparisonControl() public static méthode

Gets a dropdownlist of the supported comparison types
public static ComparisonControl ( ComparisonType supportedComparisonTypes, bool required = true ) : RockDropDownList
supportedComparisonTypes ComparisonType The supported comparison types.
required bool if set to true [required].
Résultat Rock.Web.UI.Controls.RockDropDownList

ComparisonExpression() public static méthode

Gets the comparison expression.
public static ComparisonExpression ( ComparisonType comparisonType, MemberExpression property, Expression value, Expression value2 = null ) : Expression
comparisonType ComparisonType Type of the comparison.
property System.Linq.Expressions.MemberExpression The property.
value System.Linq.Expressions.Expression The value.
value2 System.Linq.Expressions.Expression If doing ComparisonType.Between, value2 is the upper value between expression
Résultat System.Linq.Expressions.Expression