WorkerTModel, TItemGetServiceTService Method

Spotfire 15.0 API Reference
Gets the service of the given type. This method provides access to services on the analysis application level and upwards.

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

C#
public TService GetService<TService>()
where TService : class

Type Parameters

TService
The type of the service to obtain.

Return Value

Type: TService
The service of type TService or null if no such service is available.
Version Information


See Also

Reference