AddInServiceProviderGetServiceTService Method

Spotfire 14.3 API Reference
Gets the service object of the specified type, or null if no such service is available.

Namespace:  Spotfire.Dxp.Application.Extension
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public TService GetService<TService>()

Type Parameters

TService
Specifies the type of service object to get.

Return Value

Type: TService
The service instance, which is an object of type TService.
-or-
null if there is no service object of type TService available.
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