protected override Pipe VisitInterceptor(InterceptorSegment interceptor) { _lastNodeVertex = GetSink(interceptor.GetHashCode(), () => "Interceptor", typeof(InterceptorSegment), interceptor.MessageType); if (_stack.Count > 0) _edges.Add(new Edge(_stack.Peek(), _lastNodeVertex, _lastNodeVertex.TargetType.Name)); return Recurse(() => base.VisitInterceptor(interceptor)); }
protected override Pipe VisitInterceptor(InterceptorSegment interceptor) { _lastNodeVertex = GetSink(interceptor.GetHashCode(), () => "Interceptor", typeof(InterceptorSegment), interceptor.MessageType); if (_stack.Count > 0) { _edges.Add(new Edge(_stack.Peek(), _lastNodeVertex, _lastNodeVertex.TargetType.Name)); } return(Recurse(() => base.VisitInterceptor(interceptor))); }
protected override Pipe VisitInterceptor(InterceptorSegment interceptor) { if (interceptor == null) return null; Pipe output = Visit(interceptor.Output); if (_segmentsToUnbind.Contains(interceptor)) return output; if (output != interceptor.Output) { return interceptor.Clone(output); } return interceptor; }
protected virtual Pipe VisitInterceptor(InterceptorSegment interceptor) { if (interceptor == null) { return(null); } Pipe output = Visit(interceptor.Output); if (output != interceptor.Output) { return(interceptor.Clone(output)); } return(interceptor); }
protected override Pipe VisitInterceptor(InterceptorSegment interceptor) { if (interceptor == null) { return(null); } Pipe output = Visit(interceptor.Output); if (_segmentsToUnbind.Contains(interceptor)) { return(output); } if (output != interceptor.Output) { return(interceptor.Clone(output)); } return(interceptor); }
protected override Pipe VisitInterceptor(InterceptorSegment interceptor) { WriteLine(interceptor); return(base.VisitInterceptor(interceptor)); }
protected virtual Pipe VisitInterceptor(InterceptorSegment interceptor) { if (interceptor == null) return null; Pipe output = Visit(interceptor.Output); if (output != interceptor.Output) return interceptor.Clone(output); return interceptor; }