Click or drag to resize

MultitenantContainerResolveComponent Method

Resolve an instance of the provided registration within the current tenant context.

Namespace:  Autofac.Multitenant
Assembly:  Autofac.Multitenant (in Autofac.Multitenant.dll) Version: 6.0.0+9a36082eb9b91dac82616d9efefa940b8c375948
Syntax
public Object ResolveComponent(
	ResolveRequest request
)

Parameters

request
Type: AutofacResolveRequest
The resolve request.

Return Value

Type: Object
The component instance.

Implements

IComponentContextResolveComponent(ResolveRequest)
Exceptions
ExceptionCondition
ComponentNotRegisteredException Thrown if an attempt is made to resolve a component that is not registered for the current tenant.
DependencyResolutionException Thrown if there is a problem resolving the registration. For example, if the component registered requires another component be available but that required component is not available, this exception will be thrown.
See Also