コード例 #1
0
        protected virtual Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer)
        {
            if (messageConsumer == null)
            {
                return(null);
            }

            return(messageConsumer);
        }
コード例 #2
0
        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)));
        }
コード例 #3
0
        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));
        }
コード例 #4
0
        protected override Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer)
        {
            WriteLine(messageConsumer, "Consumer Type = " + messageConsumer.ConsumerType);

            return(base.VisitIntervalMessageConsumer(messageConsumer));
        }
コード例 #5
0
ファイル: AbstractPipeVisitor.cs プロジェクト: KevM/Magnum
        protected virtual Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer)
        {
            if (messageConsumer == null)
                return null;

            return messageConsumer;
        }