C# Class LinFu.Proxy.CallAdapter

Adapts an IInvokeWrapper instance to an IInterceptor instance.
Inheritance: IInterceptor
Afficher le fichier Open project: philiplaureano/LinFu Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat LinFu.AOP.Interfaces

Intercept() public méthode

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.
Résultat object