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 AspectAfterInterceptor(AspectAfter afterAttribute, bool isAfterAround = false) { _afterAttribute = afterAttribute; _isAfterAround = isAfterAround; }