C# Class Simple.Services.DefaultInterceptor

Inheritance: IInterceptor
Afficher le fichier Open project: juanplopes/simple

Private Properties

Свойство Type Description
AfterExecuteActions void
BeforeExecuteActions void
FinallyExecuteActions void

Méthodes publiques

Méthode Description
DefaultInterceptor ( Func hooks, IContextHandler headerHandler, bool client ) : System
Intercept ( object target, MethodBase method, object args ) : object

Méthodes protégées

Méthode Description
CorrectMethod ( object target, MethodBase method ) : MethodBase
GetInvocationDelegate ( MethodBase method ) : InvocationDelegate
Invoke ( object target, MethodBase method, object args ) : object

Private Methods

Méthode Description
AfterExecuteActions ( object target, MethodBase method, object args, List list ) : void
BeforeExecuteActions ( object target, MethodBase method, object args, List list ) : void
FinallyExecuteActions ( MethodBase method, List list ) : void

Method Details

CorrectMethod() protected méthode

protected CorrectMethod ( object target, MethodBase method ) : MethodBase
target object
method System.Reflection.MethodBase
Résultat System.Reflection.MethodBase

DefaultInterceptor() public méthode

public DefaultInterceptor ( Func hooks, IContextHandler headerHandler, bool client ) : System
hooks Func
headerHandler IContextHandler
client bool
Résultat System

GetInvocationDelegate() protected méthode

protected GetInvocationDelegate ( MethodBase method ) : InvocationDelegate
method System.Reflection.MethodBase
Résultat InvocationDelegate

Intercept() public méthode

public Intercept ( object target, MethodBase method, object args ) : object
target object
method System.Reflection.MethodBase
args object
Résultat object

Invoke() protected méthode

protected Invoke ( object target, MethodBase method, object args ) : object
target object
method System.Reflection.MethodBase
args object
Résultat object