Base class for factories that create a CustomWorkerTModel, TItem.
Inheritance Hierarchy
Spotfire.Dxp.Framework.ThreadingWorkerFactory
Spotfire.Dxp.Framework.ThreadingWorkerFactoryTWorker, TModel
Spotfire.Dxp.Application.ExtensionCustomWorkerFactoryTWorker, TModel
Namespace: Spotfire.Dxp.Application.Extension
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax
C#
public abstract class CustomWorkerFactory<TWorker, TModel> : WorkerFactory<TWorker, TModel> where TWorker : Worker where TModel : DocumentNode
Type Parameters
- TWorker
- The type of the worker.
- TModel
- The type of the worker model.
The CustomWorkerFactoryTWorker, TModel type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CustomWorkerFactoryTWorker, TModel | Creates a new instance.
|
Methods
Name | Description | |
---|---|---|
CreateCore | Override this method to create the new Worker.
(Inherited from WorkerFactoryTWorker, TModel.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCachingBehaviorCore |
Override this method to specify the caching behavior of results of
a work item. Default is no caching.
(Inherited from WorkerFactory.) | |
GetItemKeyCore | Override this method to provide your item key.
Must be overridden when a caching behavior is specified.
This key normally maps to the properties you have to read
from the WorkItem in DoWorkCore(TModel, TItem).
(Inherited from WorkerFactoryTWorker, TModel.) | |
GetModelKeyCore | 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.
(Inherited from WorkerFactoryTWorker, TModel.) | |
GetThreadingModelCore |
Specifies the threading model of the Worker.
Override this method to specify a threading model.
Default is dedicated thread.
(Inherited from WorkerFactory.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetWorkerModelTriggerCore | Override this method to provide a trigger that triggers
when the properties that the worker uses changes.
The default implementation returns NeverTrigger.
(Inherited from WorkerFactoryTWorker, TModel.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Version Information
See Also