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: 51.0.16121.3915 (51.0.16121.3915)
Syntax
C#
public TService GetService<TService>() where TService : class
Type Parameters
- TService
- The type of the service to obtain.
Return Value
Type: TServiceThe service of type TService or null if no such service is available.
Version Information
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also