C# Class Rock.Reporting.ComparisonHelper

Mostra file Open project: NewSpring/Rock

Public Methods

Method 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 method

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].
return Rock.Web.UI.Controls.RockDropDownList

ComparisonExpression() public static method

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
return System.Linq.Expressions.Expression