Autofac .NET Inversion of Control Container
Resolve<(Of <(TService>)>) Method (context, parameters)
NamespacesAutofacResolutionExtensionsResolve<(Of <(TService>)>)(IComponentContext, array<Parameter>[]()[])
Retrieve a service from the context.
Declaration Syntax
C#Visual BasicVisual C++
public static TService Resolve<TService>(
	IComponentContext context,
	params Parameter[] parameters
)
Public Shared Function Resolve(Of TService) ( _
	context As IComponentContext, _
	ParamArray parameters As Parameter() _
) As TService
public:
generic<typename TService>
static TService Resolve(
	IComponentContext^ context, 
	... array<Parameter^>^ parameters
)
Generic Template Parameters
TService
The type to which the result will be cast.
Parameters
context (IComponentContext)
The context from which to resolve the service.
parameters (array< Parameter >[]()[])
Parameters for the service.
Return Value
The component instance that provides the service.
Exceptions

Assembly: Autofac (Module: Autofac) Version: 2.1.13.813 (2.1.13.813)