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))); }
protected virtual Channel <ICollection <T> > Visitor <T>(LastChannel <T> channel) { Visit(channel.Output); return(channel); }
protected override Channel <ICollection <T> > Visitor <T>(LastChannel <T> channel) { Trace.WriteLine("LastChannel<{0}>".FormatWith(typeof(T).Name)); return(base.Visitor(channel)); }