C# Class LinFu.Proxy.Interfaces.FunctorAsInterceptor

A class that converts a functor into an IInterceptor instance.
Inheritance: IInterceptor
Afficher le fichier Open project: philiplaureano/LinFu Class Usage Examples

Méthodes publiques

Méthode Description
FunctorAsInterceptor ( object>.Func intercept ) : System

Initializes the class with the given functor.

Intercept ( IInvocationInfo info ) : object

A method that redirects the method calls to the functor instance.

Method Details

FunctorAsInterceptor() public méthode

Initializes the class with the given functor.
public FunctorAsInterceptor ( object>.Func intercept ) : System
intercept object>.Func The functor that will be invoked every time a method is called on the proxy type.
Résultat System

Intercept() public méthode

A method that redirects the method calls to the functor instance.
public Intercept ( IInvocationInfo info ) : object
info IInvocationInfo The instance that describes the context of the method call.
Résultat object