Method GetService GetService<T>() Declaration public T GetService<T>() Returns Type Description T Type Parameters Name Description T