Example #1
0
        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)));
        }
Example #2
0
        protected virtual Channel <ICollection <T> > Visitor <T, TKey>(DistinctChannel <T, TKey> channel)
        {
            Visit(channel.Output);

            return(channel);
        }
Example #3
0
        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));
        }