Creates a runtime constant. A runtime constant is a property in the document model
whose value is computed once when first accessed. The value is then disposed
along with the DocumentNode.
Namespace: Spotfire.Dxp.Framework.DocumentModelAssembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax
Parameters
- field
- Type: Spotfire.Dxp.Framework.DocumentModel RuntimeConstant T
The field that the RuntimeConstant T will be assigned to. This shall be a readonly field.
- factoryMethod
- Type: Spotfire.Dxp.Framework.DocumentModel PropertyComputer T
A delegate that creates the value of the runtime constant.
Type Parameters
- T
- The type of the runtime constant.
See Also