示例#1
0
        protected override Channel <ICollection <T> > Visitor <T>(LastChannel <T> channel)
        {
            _current = GetVertex(channel.GetHashCode(), () => "Last", typeof(LastChannel <T>), typeof(T));

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

            return(WithVertex(() => base.Visitor(channel)));
        }
示例#2
0
        protected virtual Channel <ICollection <T> > Visitor <T>(LastChannel <T> channel)
        {
            Visit(channel.Output);

            return(channel);
        }
示例#3
0
        protected override Channel <ICollection <T> > Visitor <T>(LastChannel <T> channel)
        {
            Trace.WriteLine("LastChannel<{0}>".FormatWith(typeof(T).Name));

            return(base.Visitor(channel));
        }