Method | Description | |
---|---|---|
InterceptAllNewInstances ( this target ) : void |
Modifies a target to support intercepting all calls to the 'new' operator.
|
|
InterceptNewInstances ( this target, Func |
Modifies a target assembly to support intercepting calls to the 'new' operator. The type filter determines which concrete types and constructors should be intercepted at runtime. For example, the following functor code intercepts types named "Foo": |
|
InterceptNewInstances ( this target, bool>.Func |
Modifies a target assembly to support intercepting calls to the 'new' operator. The type filter determines the concrete types that should be intercepted at runtime. For example, the following functor code intercepts types named "Foo": |
|
InterceptNewInstances ( this target, bool>.Func |
Modifies a target to support intercepting calls to the 'new' operator. The type filter determines the concrete types that should be intercepted at runtime. For example, the following functor code intercepts types named "Foo": |
|
InterceptNewInstances ( this target, INewInstanceFilter newInstanceFilter, IMethodFilter methodFilter ) : void |
Modifies the target to support intercepting calls to the 'new' operator.
|
|
InterceptNewInstancesWith ( this target, INewObjectWeaver weaver, bool>.Func |
Modifies the methods in the given target using the custom INewObjectWeaver instance.
|
Method | Description | |
---|---|---|
GetTypeFilter ( ) : bool>.Func |
public static InterceptAllNewInstances ( this target ) : void | ||
target | this | The assembly to be modified. |
return | void |
public static InterceptNewInstances ( this target, Func |
||
target | this | The assembly to be modified. |
constructorFilter | Func |
The functor that determines which type instantiations should be intercepted. |
methodFilter | bool>.Func | The filter that determines which host methods will be modified |
return | void |
public static InterceptNewInstances ( this target, bool>.Func |
||
target | this | The assembly to be modified. |
typeFilter | bool>.Func | The functor that determines which type instantiations should be intercepted. |
return | void |
public static InterceptNewInstances ( this target, bool>.Func |
||
target | this | The assembly to be modified. |
typeFilter | bool>.Func | The functor that determines which type instantiations should be intercepted. |
methodFilter | bool>.Func | The filter that determines which host methods will be modified |
return | void |
public static InterceptNewInstances ( this target, INewInstanceFilter newInstanceFilter, IMethodFilter methodFilter ) : void | ||
target | this | The item to be modified. |
newInstanceFilter | INewInstanceFilter | The filter that will determine which constructor calls should be intercepted. |
methodFilter | IMethodFilter | The filter that will determine which host methods should be modified to support new instance interception. |
return | void |
public static InterceptNewInstancesWith ( this target, INewObjectWeaver weaver, bool>.Func |
||
target | this | The host that contains the methods that will be modified. |
weaver | INewObjectWeaver | The custom |
filter | bool>.Func | The method filter that will determine which methods should be modified. |
return | void |