Click or drag to resize

IActivatingEventArgsTReplaceInstance Method

The instance can be replaced if needed, e.g. by an interface proxy.

Namespace:  Autofac.Core
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
void ReplaceInstance(
	Object instance
)

Parameters

instance
Type: SystemObject
The object to use instead of the activated instance.
See Also