Olvasás angol nyelven

Megosztás a következőn keresztül:


Engine Class

Definition

Expose binding logic for Power Fx. Derive from this to provide evaluation abilities.

C#
public class Engine
Inheritance
Engine
Derived

Constructors

Engine()

Initializes a new instance of the Engine class.

Engine(PowerFxConfig)

Initializes a new instance of the Engine class.

Properties

Config

Configuration symbols for this Power Fx engine.

EngineSymbols
FunctionInfos

Get all functions from the config and symbol tables.

SupportedFunctions

Builtin functions supported by this engine.

Methods

Check(ParseResult, RecordType)
Check(String, ParserOptions, ReadOnlySymbolTable)
Check(String, RecordType, ParserOptions)

Parse and Bind an expression.

CreateFieldRenamer(RecordType, DPath, DName, CultureInfo)

Creates a renamer instance for updating a field reference from parameters in expressions.

CreateOptionSetRenamer(RecordType, DPath, DName, CultureInfo)
GetAllFunctionNames()

List all functions (both builtin and custom) registered with this evaluator.

GetDefaultParserOptionsCopy()
GetDisplayExpression(String, ReadOnlySymbolTable, CultureInfo)
GetDisplayExpression(String, RecordType, CultureInfo)

Convert references in an expression to the display form.

GetInvariantExpression(String, RecordType, CultureInfo)

Convert references in an expression to the invariant form.

Parse(String, Features, ParserOptions)

Parse the expression without doing any binding.

Parse(String, ParserOptions)

Parse the expression without doing any binding.

PostCheck(CheckResult)
Suggest(CheckResult, Int32, IServiceProvider)
Suggest(CheckResult, Int32)

Get intellisense from the formula, with parser options.

Suggest(String, RecordType, Int32)
Tokenize(String, CultureInfo)

Tokenize an expression to a sequence of Tokens.

Extension Methods

CreateEditorScope(Engine, ParserOptions, ReadOnlySymbolTable)

A scope is the context for a specific formula bar. This will accept the text from the formula bar (editor), use the additional parameters here, and then call Engine.Check().

Applies to

Termék Verziók
Power Fx SDK Latest