Click or drag to resize

IConstructorInterceptorOnBeforeInitialization Method

Invoked before the initialization of the class.

This happens before the base call which means that the instance has not been created yet. Use this with care.

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

Parameters

declaringType
Type: SystemType
The type declaring the intercepted contructor
methodbase
Type: System.ReflectionMethodBase
Contains information about the constructor.
values
Type: SystemObject
The passed arguments of the constructor.
See Also