Open this page in the API Guide

ApiControllerBase.GetService<T> Method

Gets the requested service.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
protected T GetService<T>()
where T : class

Type Parameters

T
The type of the service to get.

Return Value

Type: T
The service, if found; otherwise, null.
See Also