Gets a service from the provider collection. Equivalent to GetService(typeof(T))
Declaration Syntax
C# |
public T GetService<T>()
Generic Template Parameters
- T
- Service interface
Return Value
Returns the service
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)