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
)
Sub ReplaceInstance (
instance As Object
)
Parameters
- instance
- Type: SystemObject
The object to use instead of the activated instance.
See Also