C# Class LinFu.Proxy.CallAdapter

Adapts an IInvokeWrapper instance to an IInterceptor instance.
Inheritance: IInterceptor
Mostrar archivo Open project: philiplaureano/LinFu Class Usage Examples

Public Methods

Method Description
CallAdapter ( IInvokeWrapper wrapper ) : LinFu.AOP.Interfaces

Initializes the CallAdapter class with the wrapper instance.

Intercept ( IInvocationInfo info ) : object

Intercepts a method call and passes the IInvocationInfo arguments down to the IInvokeWrapper instance.

Method Details

CallAdapter() public method

Initializes the CallAdapter class with the wrapper instance.
public CallAdapter ( IInvokeWrapper wrapper ) : LinFu.AOP.Interfaces
wrapper IInvokeWrapper The instance that will be called every time the interceptor is invoked.
return LinFu.AOP.Interfaces

Intercept() public method

Intercepts a method call and passes the IInvocationInfo arguments down to the IInvokeWrapper instance.
public Intercept ( IInvocationInfo info ) : object
info IInvocationInfo The instance that describes the method currently being executed.
return object