Microsoft.PowerFx Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Basic |
Trivial IServiceProvider implementation that allows chaining and composition. |
Basic |
Helper for implementing UserInfo with static values. |
Check |
Get summary of information from the CheckResult. This can be used for editor features that help write expressions. |
Check |
Holds work such as parsing, binding, error checking done on a single expression. Different options require different work. Tracks which work is done so that it is not double repeated. |
Check |
|
Config |
|
Console |
Default implementation of Repl output that writes to console. |
Deferred |
Used with a Microsoft.PowerFx.DeferredSymbolTable. This is returned to lazily provide the type for (logical,displayName). |
Editor |
Implement aIPowerFxScope for intellisense on top of anEngine instance. A scope is the context for a specific formula bar. This includes helpers to aide in customizing the editing experience. |
Editor |
|
Engine |
Expose binding logic for Power Fx. Derive from this to provide evaluation abilities. |
Expression |
Error message. This could be a compile time error from parsing or binding, or it could be a runtime error wrapped in a ErrorValue. |
Features | |
Formula |
Provide settings to FormulaValues in order to serialize values in different situations. |
Formula |
Encapsulate a formula and the parameters it has available. |
Function |
Information about a built-in function. |
Governor |
Throttling object to allow a host to control limits of memory and hardware resources. These virtuals are called by the evaluator, and exceptions thrown by them will abort the evaluation. This is a service passed to RuntimeConfig, and a derived class can override and throw their own host exceptions if hardware limits are exceeded. |
Interpreter |
The interpreter is called in an illegal way. |
IRepl |
|
Name |
|
Object |
Marshal a specific type of object to a record. |
Object |
Marshal .Net classes (with fields) to RecordValue. This supports both strong typing and lazy marshalling. It will return a ObjectMarshaller. |
Option |
|
Parse |
Result of parsing an expression. |
Parser |
Options for parsing an expression. |
Power |
A container that allows for compiler customization. |
Power |
|
Power |
A REPL (Read-Eval-Print Loop) for Power Fx. This accepts input, evaluates it, and prints the result. |
Primitive |
Marshalling provider to handle builtin primitive types. |
Primitive |
Marshaller for builtin primitives. |
Read |
ReadOnly version of a Symbol Table. This feeds functions, variables, enums, etc into
the binder. |
Read |
Runtime values corresponding to static values described in a SymbolTable. See SymbolValues for a mutable derived class. |
Recalc |
Holds a set of Power Fx variables and formulas. Formulas are recalculated when their dependent variables change. |
Reflection |
Base class for importing a C# function into Power Fx. Dervied class should follow this convention:
|
Repl |
Result from HandleCommandAsync(String, CancellationToken). |
Runtime |
Runtime configuration for the execution of an expression. This can be reused across multiple evals - so it shouldn't have any state that expires such as a cancellation token. |
Symbol |
|
Symbol |
|
Symbol |
|
Symbol |
Provides symbols to the engine. This includes variables (locals, globals), enums, options sets, and functions. SymbolTables are mutable to support sessionful scenarios and can be chained together. This is a publicly facing class around a Microsoft.PowerFx.Core.Binding.INameResolver. |
Symbol |
Mutable collection for runtime Values for a SymbolTable. Will lazily create a symbol table. To match to an existing symbol table, call CreateValues(ReadOnlySymbolTable, ReadOnlySymbolValues[]). |
Table |
Marshal .Net classes (with fields). This supports strong typing and lazy marshalling. Handles any IEnumerable (including arrays). |
Type |
Convert value to target format. |
Type |
Marshal .net objects into Power Fx values. |
Type |
Marshal .net objects into Power Fx values. |
User |
Definition for User object.
|
IDynamic |
Some types (like Dictionary, JObject, or DataTable) are dynamic. |
IExpression |
Evaluate an expression that was successfully bound. |
IRepl |
Callback interface to write to output. Handles different kinds, which could be mapped to different console colors or output streams. |
IRuntime |
|
ISymbol |
A "slot" is the opaque handle to acts as a storage location for a symbol. It can be used for both get and set on symbols. The IR will refer to slots when accessing symbols. Unique slots mean unique symbols. Runtime allocates storage for these slots. |
IType |
A marshaller for a given System.Type to a given power fx type. . This can only marshal types that have a static mapping to a FormulaType. |
IType |
Handles marshalling a given type. Invoked by the TypeMarshallerCache. |
Error |
Indicates the error on a record in a connected data source. This must be kept in sync with the document enum "ErrorKind". |
Error |
Severity of errors provided. |
Output |
Kinds of output from repl. |
Object |
Method that should return the Type and Value Marshalling function for a field. |
Object |
Value Marshalling function for a field. |