protected override Channel <ICollection <T> > Visitor <T, TKey>(DistinctChannel <T, TKey> channel) { _current = GetVertex(channel.GetHashCode(), () => "Distinct", typeof(DistinctChannel <T, TKey>), 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, TKey>(DistinctChannel <T, TKey> channel) { Visit(channel.Output); return(channel); }
protected override Channel <ICollection <T> > Visitor <T, TKey>(DistinctChannel <T, TKey> channel) { Trace.WriteLine("DistinctChannel<{0}>, Key = {1}".FormatWith(typeof(T).Name, typeof(TKey).Name)); return(base.Visitor(channel)); }