void InspectOutputsCore(ref MessageRpc rpc) { int offset = this.Parent.ParameterInspectorCorrelationOffset; bool outputTiming = DS.ParameterInspectorIsEnabled(); Stopwatch sw = null; if (outputTiming) { sw = new Stopwatch(); } for (int i = this.ParameterInspectors.Length - 1; i >= 0; i--) { IParameterInspector inspector = this.ParameterInspectors[i]; if (outputTiming) { sw.Restart(); } inspector.AfterCall(this.Name, rpc.OutputParameters, rpc.ReturnParameter, rpc.Correlation[offset + i]); if (outputTiming) { DS.ParameterInspectorAfter(inspector.GetType(), sw.Elapsed); } if (TD.ParameterInspectorAfterCallInvokedIsEnabled()) { TD.ParameterInspectorAfterCallInvoked(rpc.EventTraceActivity, inspector.GetType().FullName); } } }
void InspectOutputsCore(ref MessageRpc rpc) { for (int i = this.ParameterInspectors.Length - 1; i >= 0; i--) { IParameterInspector inspector = this.ParameterInspectors[i]; inspector.AfterCall(this.Name, rpc.OutputParameters, rpc.ReturnParameter, rpc.Correlation[i]); if (TD.ParameterInspectorAfterCallInvokedIsEnabled()) { TD.ParameterInspectorAfterCallInvoked(rpc.EventTraceActivity, this.ParameterInspectors[i].GetType().FullName); } } }
private void InspectOutputsCore(ref MessageRpc rpc) { for (int i = ParameterInspectors.Length - 1; i >= 0; i--) { IParameterInspector inspector = ParameterInspectors[i]; inspector.AfterCall(Name, rpc.OutputParameters, rpc.ReturnParameter, rpc.Correlation[i]); if (WcfEventSource.Instance.ParameterInspectorAfterCallInvokedIsEnabled()) { WcfEventSource.Instance.ParameterInspectorAfterCallInvoked(rpc.EventTraceActivity, ParameterInspectors[i].GetType().FullName); } } }
void InspectOutputsCore(MessageRpc rpc) { int offset = Parent.ParameterInspectorCorrelationOffset; for (int i = ParameterInspectors.Length - 1; i >= 0; i--) { IParameterInspector inspector = ParameterInspectors[i]; inspector.AfterCall(Name, rpc.OutputParameters, rpc.ReturnParameter, rpc.Correlation[offset + i]); //if (TD.ParameterInspectorAfterCallInvokedIsEnabled()) //{ // TD.ParameterInspectorAfterCallInvoked(rpc.EventTraceActivity, this.ParameterInspectors[i].GetType().FullName); //} } }
public void AfterCallIgnoreEmptyOperation() { _sut.AfterCall(null, null, null, null); }