Method IsRegisteredWithName
- Namespace
- Autofac
- Assembly
- Autofac.dll
IsRegisteredWithName<TService>(IComponentContext, string)
public static bool IsRegisteredWithName<TService>(this IComponentContext context, string serviceName) where TService : notnull
Parameters
contextIComponentContextserviceNamestring
Returns
Type Parameters
TService
IsRegisteredWithName(IComponentContext, string, Type)
public static bool IsRegisteredWithName(this IComponentContext context, string serviceName, Type serviceType)
Parameters
contextIComponentContextserviceNamestringserviceTypeType