public AspectAroundInterceptor(AspectArround aroundAttribute, AspectAfter aspectAfter, AspectAfterThrows chainAspectAfterThrows) { _aroundAttribute = aroundAttribute; if (aspectAfter != null) { _aspectAfter = new AspectAfterInterceptor(aspectAfter, true); } if (chainAspectAfterThrows != null) { _aspectThrows = new AspectAfterThrowsInterceptor(chainAspectAfterThrows, true); } }
public AspectAroundInterceptor(RunTimePointcutMethod <Around> pointCutMethod, AspectAfterInterceptor aspectAfter, AspectAfterThrowsInterceptor chainAspectAfterThrows) { _pointCutMethod = pointCutMethod; _aspectAfter = aspectAfter; _aspectThrows = chainAspectAfterThrows; }