C# Класс Rock.Field.Types.DecimalFieldType

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

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

Метод Описание
AttributeConstantExpression ( string value ) : ConstantExpression

Attributes the constant expression.

AttributeFilterExpression ( ConfigurationValue>.Dictionary configurationValues, List filterValues, System.Linq.Expressions.ParameterExpression parameterExpression ) : Expression

Gets a filter expression for an attribute value.

EditControl ( ConfigurationValue>.System configurationValues, string id ) : System.Web.UI.Control

Creates the control(s) necessary for prompting user for a new value

FormatValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues, bool condensed ) : string

Formats the value.

IsValid ( string value, bool required, string &message ) : bool

Tests the value to ensure that it is a valid value. If not, message will indicate why

SortValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues ) : object

Returns the value that should be used for sorting, using the most appropriate datatype

ValueAsFieldType ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues ) : object

Returns the value using the most appropriate datatype

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

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

Attributes the constant expression.
public AttributeConstantExpression ( string value ) : ConstantExpression
value string The value.
Результат System.Linq.Expressions.ConstantExpression

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

Gets a filter expression for an attribute value.
public AttributeFilterExpression ( ConfigurationValue>.Dictionary configurationValues, List filterValues, System.Linq.Expressions.ParameterExpression parameterExpression ) : Expression
configurationValues ConfigurationValue>.Dictionary The configuration values.
filterValues List The filter values.
parameterExpression System.Linq.Expressions.ParameterExpression The parameter expression.
Результат System.Linq.Expressions.Expression

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

Creates the control(s) necessary for prompting user for a new value
public EditControl ( ConfigurationValue>.System configurationValues, string id ) : System.Web.UI.Control
configurationValues ConfigurationValue>.System The configuration values.
id string
Результат System.Web.UI.Control

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

Formats the value.
public FormatValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues, bool condensed ) : string
parentControl System The parent control.
value string The value.
configurationValues ConfigurationValue>.Dictionary The configuration values.
condensed bool if set to true [condensed].
Результат string

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

Tests the value to ensure that it is a valid value. If not, message will indicate why
public IsValid ( string value, bool required, string &message ) : bool
value string The value.
required bool if set to true [required].
message string The message.
Результат bool

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

Returns the value that should be used for sorting, using the most appropriate datatype
public SortValue ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues ) : object
parentControl System The parent control.
value string The value.
configurationValues ConfigurationValue>.Dictionary The configuration values.
Результат object

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

Returns the value using the most appropriate datatype
public ValueAsFieldType ( System parentControl, string value, ConfigurationValue>.Dictionary configurationValues ) : object
parentControl System The parent control.
value string The value.
configurationValues ConfigurationValue>.Dictionary The configuration values.
Результат object