Click or drag to resize

IActivatingEventArgsT Interface

Fired after the construction of an instance but before that instance is shared with any other or any members are invoked on it.

Namespace:  Autofac.Core
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public interface IActivatingEventArgs<out T>

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "T:Autofac.Core.IActivatingEventArgs`1"]

The IActivatingEventArgsT type exposes the following members.

Properties
  NameDescription
Public propertyComponent
Gets the component providing the instance.
Public propertyContext
Gets the context in which the activation occurred.
Public propertyInstance
Gets the instance that will be used to satisfy the request.
Public propertyParameters
Gets the parameters supplied to the activator.
Public propertyService
Gets the service being resolved.
Top
Methods
  NameDescription
Public methodReplaceInstance
The instance can be replaced if needed, e.g. by an interface proxy.
Top
See Also