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: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
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.
Top
Methods
  NameDescription
Public methodReplaceInstance
The instance can be replaced if needed, e.g. by an interface proxy.
Top
See Also