C# Class LinFu.IoC.Interceptors.AroundInvokeAdapter

Adapts a IAroundInvoke instance into an IInterceptor.
Inheritance: LinFu.IoC.Interceptors.BaseInterceptor
Mostra file Open project: philiplaureano/LinFu Class Usage Examples

Public Methods

Method Description
Intercept ( IInvocationInfo info ) : object

Converts the call to IInterceptor.Intercept to an IAroundInvoke method call.

Protected Methods

Method Description
GetTarget ( IInvocationInfo info ) : object

Gets the target object instance.

Private Methods

Method Description
AroundInvokeAdapter ( Func getTarget, IMethodInvoke methodInvoke, IAroundInvoke aroundInvoke ) : System

Initializes the AroundInvokeAdapter class.

Method Details

GetTarget() protected method

Gets the target object instance.
protected GetTarget ( IInvocationInfo info ) : object
info IInvocationInfo The instance that describes the current execution context.
return object

Intercept() public method

Converts the call to IInterceptor.Intercept to an IAroundInvoke method call.
public Intercept ( IInvocationInfo info ) : object
info IInvocationInfo The that describes the context of the method call.
return object