Autofac .NET Inversion of Control Container
InjectUnsetProperties<(Of <(TService>)>) Method (context, instance)
NamespacesAutofacResolutionExtensionsInjectUnsetProperties<(Of <(TService>)>)(IComponentContext, TService)
Set any null-valued properties on instance that can be resolved by the container.
Declaration Syntax
C#Visual BasicVisual C++
public static TService InjectUnsetProperties<TService>(
	IComponentContext context,
	TService instance
)
Public Shared Function InjectUnsetProperties(Of TService) ( _
	context As IComponentContext, _
	instance As TService _
) As TService
public:
generic<typename TService>
static TService InjectUnsetProperties(
	IComponentContext^ context, 
	TService instance
)
Generic Template Parameters
TService
Type of instance. Used only to provide method chaining.
Parameters
context (IComponentContext)
The context from which to resolve the service.
instance (TService)
The instance to inject properties into.
Return Value
instance.

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