WorkerFactoryTWorker, TModelGetModelKeyCore Method

Spotfire 14.3 API Reference
Override this method to provide your model key. This key normally maps to the properties you have to read from the document node in the worker.

Namespace:  Spotfire.Dxp.Framework.Threading
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
protected virtual Object GetModelKeyCore(
	TModel model
)

Parameters

model
Type: TModel
The model.

Return Value

Type: Object
The model key.
Remarks

If there is no document node dependency in the corresponding dispatcher (and hence neither in the work item), this method will not be called. Allowed return types are:
  • string
  • int
  • uint
  • short
  • ushort
  • byte
  • DateTime
  • TimeSpan
  • double
  • flaot
  • decimal
  • long
  • bool
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference