C# Class NProxy.Core.Interceptors.DynamicTargetInterceptor

Inheritance: IInterceptor
Show file Open project: mtamme/NProxy

Public Methods

Method Description
DynamicTargetInterceptor ( object>.Func targetFactory ) : System

Initializes a new instance of the DynamicTargetInterceptor class.

Intercept ( IInvocationContext invocationContext ) : object

Method Details

DynamicTargetInterceptor() public method

Initializes a new instance of the DynamicTargetInterceptor class.
public DynamicTargetInterceptor ( object>.Func targetFactory ) : System
targetFactory object>.Func The target factory.
return System

Intercept() public method

public Intercept ( IInvocationContext invocationContext ) : object
invocationContext IInvocationContext
return object