C# Class Project.Aop.Aspects.Aspect

Abstract class to wrap Castle Windsor's IInterceptor to only fire if the method or class is decorated with this attribute.
Inheritance: System.Attribute, IInterceptor
Afficher le fichier Open project: cardinal-solutions/AOPwithCastleWindsor

Méthodes publiques

Méthode Description
Intercept ( IInvocation invocation ) : void
ProcessInvocation ( IInvocation invocation ) : void

Private Methods

Méthode Description
CanIntercept ( IInvocation invocation, Type type ) : bool

Determine if the intercepted class or method is decorated with the current attribute Classes decorated will process if decorated on ALL methods Methods decorated will process if decorate

Method Details

Intercept() public méthode

public Intercept ( IInvocation invocation ) : void
invocation IInvocation
Résultat void

ProcessInvocation() public abstract méthode

public abstract ProcessInvocation ( IInvocation invocation ) : void
invocation IInvocation
Résultat void