Method GetService NamespaceAutofac.Integration.WebApi AssemblyAutofac.Integration.WebApi.dll GetService(Type) public object? GetService(Type serviceType) Parameters serviceType Type Returns object