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)
Syntaxprotected T GetService<T>()
where T : class
Protected Function GetService(Of T As Class) As T
protected:
generic<typename T>
where T : ref class
T GetService()
member GetService : unit -> 'T when 'T : not struct
Type Parameters
- T
- The type of the service to get.
Return Value
Type:
TThe service, if found; otherwise,
null.
See Also