Method GetServiceGetService<T>()Declaration T? GetService<T>() where T : class, TBase Returns Type Description T Type Parameters Name Description T