KestrunHost.IsServiceRegistered method (1 of 2)
Returns true if the specified service type has already been registered in the IServiceCollection.
public bool IsServiceRegistered(Type serviceType)
See Also
- class KestrunHost
- namespace Kestrun.Hosting
KestrunHost.IsServiceRegistered<TService> method (2 of 2)
Generic convenience overload.
public bool IsServiceRegistered<TService>()
See Also
- class KestrunHost
- namespace Kestrun.Hosting