Click or drag to resize

IConstructorInterceptorOnEnter Method

Invoked if an intercepted contructor has been called.

Namespace:  Cauldron.Interception
Assembly:  Cauldron.Interception (in Cauldron.Interception.dll) Version: 1.0.0
Syntax
void OnEnter(
	Type declaringType,
	Object instance,
	MethodBase methodbase,
	Object[] values
)

Parameters

declaringType
Type: SystemType
The type declaring the intercepted contructor
instance
Type: SystemObject
The instance of the class where the method is residing. will be null if the constructor is static.
methodbase
Type: System.ReflectionMethodBase
Contains information about the constructor.
values
Type: SystemObject
The passed arguments of the constructor.
See Also