[]
        
(Showing Draft Content)

C1.WPF.ExpressionEditor.C1ExpressionEngine

C1ExpressionEngine Class

Expression engine class that is used to dynamically produce an expression and get the result of the expression.

Inheritance
C1ExpressionEngine
Implements
IEngine
IExpressionEngine
IEngineExtended
IEngineExpressionItems
ISupportAliases
ISupportCustomFunctions
Namespace: C1.WPF.ExpressionEditor
Assembly: C1.WPF.ExpressionEditor.dll
Syntax
public class C1ExpressionEngine : IEngine, IExpressionEngine, IEngineExtended, IEngineExpressionItems, ISupportAliases, ISupportCustomFunctions, INotifyPropertyChanged
Public Class C1ExpressionEngine
    Implements IEngine, IExpressionEngine, IEngineExtended, IEngineExpressionItems, ISupportAliases, ISupportCustomFunctions, INotifyPropertyChanged

Constructors

Name Description
C1ExpressionEngine()

Initializes a new instance of the C1ExpressionEngine class.

Properties

Name Description
CultureInfo
CurrentIndex
DataSource
Expression
IsValid

Methods

Name Description
AddAlias(string, string)
AddError(int, int, ErrorType)
AddFunction(List<ExpressionItem>, Func<List<object>, object>, int, int)
Evaluate()
GetErrors()
GetExpressionItems()
GetFieldNames()
GetItemsCount(IExpression)
GetValue(IEnumerable<object>)
OnPropertyChanged(object, PropertyChangedEventArgs)

Raises the property changed event.

TryAddAlias(string, string)
TryEvaluate(out object)

Events

Name Description
EngineChanged

Occurs when Engine settings are changed.

ExpressionChanged

Occurs when Expression is changed.

PropertyChanged