protected virtual Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer) { if (messageConsumer == null) { return(null); } return(messageConsumer); }
protected override Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer) { _lastNodeVertex = GetSink(messageConsumer.GetHashCode(), () => "Consumer", typeof(IntervalMessageConsumerSegment), messageConsumer.MessageType); if (_stack.Count > 0) { _edges.Add(new Edge(_stack.Peek(), _lastNodeVertex, _lastNodeVertex.TargetType.Name)); } return(Recurse(() => base.VisitIntervalMessageConsumer(messageConsumer))); }
protected override Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer) { _lastNodeVertex = GetSink(messageConsumer.GetHashCode(), () => "Consumer", typeof(IntervalMessageConsumerSegment), messageConsumer.MessageType); if (_stack.Count > 0) _edges.Add(new Edge(_stack.Peek(), _lastNodeVertex, _lastNodeVertex.TargetType.Name)); return Recurse(() => base.VisitIntervalMessageConsumer(messageConsumer)); }
protected override Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer) { WriteLine(messageConsumer, "Consumer Type = " + messageConsumer.ConsumerType); return(base.VisitIntervalMessageConsumer(messageConsumer)); }
protected virtual Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer) { if (messageConsumer == null) return null; return messageConsumer; }