public AspectBeforeInterceptor(RunTimePointcutMethod <Before> pointCutMethod)
 {
     _pointCutMethod = pointCutMethod;
 }
Exemplo n.º 2
0
 public AspectAroundInterceptor(RunTimePointcutMethod <Around> pointCutMethod, AspectAfterInterceptor aspectAfter, AspectAfterThrowsInterceptor chainAspectAfterThrows)
 {
     _pointCutMethod = pointCutMethod;
     _aspectAfter    = aspectAfter;
     _aspectThrows   = chainAspectAfterThrows;
 }
Exemplo n.º 3
0
 public AspectAfterInterceptor(RunTimePointcutMethod <After> pointCutMethod, bool isAfterAround = false)
 {
     _pointCutMethod = pointCutMethod;
     _isAfterAround  = isAfterAround;
 }
 public AspectAfterReturnInterceptor(RunTimePointcutMethod <AfterReturn> pointCutMethod)
 {
     _pointCutMethod = pointCutMethod;
 }
 public AspectAfterThrowsInterceptor(RunTimePointcutMethod <AfterThrows> throwAttribute, bool isFromAround = false)
 {
     _pointcutThrowin = throwAttribute;
     _isFromAround    = isFromAround;
 }