Class ContainerInterceptor<T>
Represents the base class for a generic type interceptor registered in the Container.
Inherited Members
Namespace: Evergine.Framework
Assembly: Evergine.Framework.dll
Syntax
public abstract class ContainerInterceptor<T> : ContainerInterceptor
  Type Parameters
| Name | Description | 
|---|---|
| T | The generic type of the interceptor.  | 
      
Constructors
ContainerInterceptor()
Initializes a new instance of the ContainerInterceptor<T> class. It will receive events for
the type T or any of its base types registered in the container.
Declaration
public ContainerInterceptor()
  Methods
OnInstanced(object)
Called every time an instance of a type assignable from 
Declaration
public override sealed void OnInstanced(object instance)
  Parameters
| Type | Name | Description | 
|---|---|---|
| object | instance | The generated instance.  | 
      
Overrides
OnInstanced(T)
Called every time an instance of a type assignable from T is instanced by the container.
Declaration
protected abstract void OnInstanced(T instance)
  Parameters
| Type | Name | Description | 
|---|---|---|
| T | instance | The generated instance.  |