private void AfterInvoke(object[] pipeStates, bool isFaulted, Exception exception) { for (var pipeIndex = _pipes.Count - 1; pipeIndex >= 0; --pipeIndex) { var afterInvokeArgs = new AfterInvokeArgs(this, pipeStates[pipeIndex], isFaulted, exception); _pipes[pipeIndex].AfterInvoke(afterInvokeArgs); } }
private void AfterInvoke(object[] pipeStates, bool isFaulted, Exception exception) { if (pipeStates == null) { throw new InvalidOperationException("Missing pipe states, did you call SetupForInvocation in your handler invoker?"); } for (var pipeIndex = _pipes.Count - 1; pipeIndex >= 0; --pipeIndex) { var afterInvokeArgs = new AfterInvokeArgs(this, pipeStates[pipeIndex], isFaulted, exception); _pipes[pipeIndex].AfterInvoke(afterInvokeArgs); } }
private void AfterInvoke(object[] pipeStates, bool isFaulted, Exception exception) { if (pipeStates == null) throw new InvalidOperationException("Missing pipe states, did you call SetupForInvocation in your handler invoker?"); for (var pipeIndex = _pipes.Count - 1; pipeIndex >= 0; --pipeIndex) { var afterInvokeArgs = new AfterInvokeArgs(this, pipeStates[pipeIndex], isFaulted, exception); _pipes[pipeIndex].AfterInvoke(afterInvokeArgs); } }
public void AfterInvoke(AfterInvokeArgs args) { if (AfterCallback != null) AfterCallback(args); }