[]
        
(Showing Draft Content)

C1.WPF.ExpressionEditor.ExpressionEvaluationConverterBase.Evaluate

Evaluate Method

Evaluate(object, string, Type, CultureInfo)

Evaluates the expression and converts the results to the target type.

Declaration
protected virtual object Evaluate(object dataSource, string expression, Type targetType, CultureInfo culture)
Protected Overridable Function Evaluate(dataSource As Object, expression As String, targetType As Type, culture As CultureInfo) As Object
Parameters
Type Name Description
object dataSource

The data source to use in the evaluation.

string expression

The expression to evaluate.

Type targetType

The target type that the evaluation results should be converted to.

CultureInfo culture

The culture to use in the converter.

Returns
Type Description
object