[]
        
(Showing Draft Content)

C1.ExpressionEditor.Engine.IEngine

IEngine Interface

Defines properties and methods of expression engine.

Namespace: C1.ExpressionEditor.Engine
Assembly: C1.Win.ExpressionEditor.8.dll
Syntax
public interface IEngine

Properties

Name Description
CultureInfo

Gets or sets the CultureInfo to use when parsing numbers and dates.

DataSource

Gets or sets the object used as the data source.

Expression

Gets or sets expression string.

IsValid

Gets a value that indicates whether the expression is valid.

ItemContext

Gets or sets the object used as the context for evaluating an expression.

Methods

Name Description
AddAlias(string, string)

Added a alias for a field from DataSource.

Evaluate()

Gets a result of expression.

GetErrors()

Gets a list of ErrorInfo objects.

TryEvaluate(out object)

Gets a result of expression. A return value indicates whether the evaluate succeeded or failed.