예제 #1
0
        protected override UntypedChannel Visitor(BroadcastChannel channel)
        {
            _current = GetVertex(channel.GetHashCode(), () => "Router", typeof(BroadcastChannel), typeof(object));

            if (_stack.Count > 0)
            {
                _edges.Add(new Edge(_stack.Peek(), _current, _current.TargetType.Name));
            }

            return(WithVertex(() => base.Visitor(channel)));
        }