示例#1
0
        protected override UntypedChannel Visitor <TFilter>(UntypedFilterChannel <TFilter> channel)
        {
            _current = GetVertex(channel.GetHashCode(), () => "UntypedFilterChannel", typeof(UntypedFilterChannel <TFilter>), typeof(TFilter));

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

            return(WithVertex(() => base.Visitor(channel)));
        }
示例#2
0
        protected override UntypedChannel Visitor <TFilter>(UntypedFilterChannel <TFilter> channel)
        {
            Trace.WriteLine("UntypedFilterChannel<{0}>:".FormatWith(typeof(TFilter).GetType().ToShortTypeName()));

            return(base.Visitor(channel));
        }
示例#3
0
        protected virtual UntypedChannel Visitor <TFilter>(UntypedFilterChannel <TFilter> channel)
        {
            Visit(channel.Output);

            return(channel);
        }