Method Resolve
- Namespace
- Autofac
- Assembly
- Autofac.dll
Resolve<TService>(IComponentContext)
public static TService Resolve<TService>(this IComponentContext context) where TService : notnull
Parameters
contextIComponentContext
Returns
- TService
Type Parameters
TService
Resolve<TService>(IComponentContext, IEnumerable<Parameter>)
public static TService Resolve<TService>(this IComponentContext context, IEnumerable<Parameter> parameters) where TService : notnull
Parameters
contextIComponentContextparametersIEnumerable<Parameter>
Returns
- TService
Type Parameters
TService
Resolve<TService>(IComponentContext, params Parameter[])
public static TService Resolve<TService>(this IComponentContext context, params Parameter[] parameters) where TService : notnull
Parameters
contextIComponentContextparametersParameter[]
Returns
- TService
Type Parameters
TService
Resolve(IComponentContext, Type)
public static object Resolve(this IComponentContext context, Type serviceType)
Parameters
contextIComponentContextserviceTypeType
Returns
Resolve(IComponentContext, Type, IEnumerable<Parameter>)
public static object Resolve(this IComponentContext context, Type serviceType, IEnumerable<Parameter> parameters)
Parameters
contextIComponentContextserviceTypeTypeparametersIEnumerable<Parameter>
Returns
Resolve(IComponentContext, Type, params Parameter[])
public static object Resolve(this IComponentContext context, Type serviceType, params Parameter[] parameters)
Parameters
contextIComponentContextserviceTypeTypeparametersParameter[]