Ejemplo n.º 1
0
		public static ChannelGraphData GetGraphData(this Channel channel)
		{
			var visitor = new GraphChannelVisitor();

			visitor.FastInvoke("Visit", channel);

			return visitor.GetGraphData();
		}
Ejemplo n.º 2
0
        public static ChannelGraphData GetGraphData(this Channel channel)
        {
            var visitor = new GraphChannelVisitor();

            visitor.FastInvoke("Visit", channel);

            return(visitor.GetGraphData());
        }
        public override void GetData(object target, Stream outgoingData)
        {
            if (target == null)
                return;

            if (!typeof(Channel).IsAssignableFrom(target.GetType()))
                return;

            var visitor = new GraphChannelVisitor();

            visitor.FastInvoke("Visit", target);

            ChannelGraphData data = visitor.GetGraphData();

            base.GetData(data, outgoingData);
        }
        public override void GetData(object target, Stream outgoingData)
        {
            if (target == null)
            {
                return;
            }

            if (!typeof(Channel).IsAssignableFrom(target.GetType()))
            {
                return;
            }

            var visitor = new GraphChannelVisitor();

            visitor.FastInvoke("Visit", target);

            ChannelGraphData data = visitor.GetGraphData();

            base.GetData(data, outgoingData);
        }