Microsoft.PowerFx.Types 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.
Aggregate |
|
Binding |
A binding error type, attached to syntax nodes whose type is incorrect. |
Blank |
Represents a Blank (similar to Null) value. BlankType is compatible with other types. |
Blank |
|
Boolean |
|
Boolean |
|
Collection |
Create a TableValue over a dotnet collection class. Depending on what collection interfaces it exposes will determine the capabilities (such as Enumeration, Count, Index). |
Color |
|
Color |
|
Date |
|
Date |
|
Date |
Represents a Date and Time together, in the local time zone. |
Date |
|
Date |
Represents a Date only, without a time component, in the local time zone. |
Decimal |
|
Decimal |
|
Deferred |
An unknown type, attached to syntax nodes whose type cannot be determined. NOTE: it's not valid to even attempt to execute an expression that references a deferred type. |
DValue<T> |
Represents the type (T | Blank | Error), where T is neither Blank nor Error TableValue stores this class (Rows), and it can be used in any situation where a value can be either a known type or Blank/Error. |
Error |
A Runtime error. |
External |
FormulaType that can be used by UntypedObject instances to indicate that the type of the data does not exist in PowerFx. |
Formula |
Base class for type of a Formula. Formula Types are a class hiearchy. |
Formula |
Represent a value in the formula expression. |
Formula |
|
Guid |
|
Guid |
|
Hyperlink |
|
Named |
|
Named |
Helper class for representing fields or columns. |
Number |
|
Number |
|
Object |
Represent a Record that's backed by a DotNet object. Field access is lazy. |
Option |
A value within an option set. |
Option |
Power Fx type for an enum-like things such as OptionSets. |
Primitive |
Helper for non-aggregate values that are represented as a single .net object. See PrimitiveValueConversions for converting between a T and a FormulaType. |
Primitive |
Mapping between builtin dotnet Types and power fx types. This works for primitives derived from PrimitiveValue<T>. To marshal complex types, use explicit construction methods or a TypeMarshaller. |
Queryable |
|
Record |
Represents a Record type within PowerFx. If this is subclassed, it's quite likely that RecordValue should be as well. If the type is known in advance and easy to construct, use Empty() and Add(NamedFormulaType) instead of deriving from this. |
Record |
Represent a Record. Records have named fields which can be other values. |
String |
|
String |
|
Table |
Represents a table type within Power Fx. Build using Empty() and Add(NamedFormulaType) or call ToTable() on a derived table type. |
Table |
Represents a table (both single columna and multi-column). |
Time |
|
Time |
|
Unknown |
An unknown type, attached to syntax nodes whose type cannot be determined. |
Unsupported |
Type not currently supported by the API. |
Untyped |
|
Untyped |
|
Valid |
All values except BlankValue and ErrorValue should inherit from this base class. BlankValue and ErrorValue inherit directly from FormulaValue. The type parameter T in DValue is constrained to ValidFormulaValue, meaning that BlankValue and ErrorValue can never be substituted for T. |
Void |
Special Type which can't be coerced or accepted by any types. |
Void |
IType |
Visitor for walking FormulaType. |
IUntyped |
The backing implementation for UntypedObjectValue, for example Json, Xml, or the Ast or Value system from another language. |
IValue |
External |
This enum represents types which are not supported by PowerFx but which may be supported by external data formats. |
Special |
Optional special fields with special semantics. |