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: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
Syntax
void ReplaceInstance(
	Object instance
)

Parameters

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