Exemple #1
0
            private void DoAction <T>(Action <T> handler, Action <T> delegation, T argument)
            {
                GeometryPipeline current = this.Current;
                GeometryPipeline next    = this.Next;

                ForwardingSegment.DoAction <T>(handler, new Action(current.Reset), delegation, new Action(next.Reset), argument);
            }
Exemple #2
0
            private void DoAction(Action handler, Action delegation)
            {
                GeometryPipeline current = this.Current;
                GeometryPipeline next    = this.Next;

                ForwardingSegment.DoAction(handler, new Action(current.Reset), delegation, new Action(next.Reset));
            }
Exemple #3
0
 /// <summary>
 /// Run one action on a Geography pipeline
 /// </summary>
 /// <param name="handler">what to do at this stage of the pipeline</param>
 /// <param name="delegation">what the rest of the pipeline should do</param>
 private void DoAction(Action handler, Action delegation)
 {
     ForwardingSegment.DoAction(handler, Current.Reset, delegation, Next.Reset);
 }
Exemple #4
0
 /// <summary>
 /// Run one action on a Geography pipeline
 /// </summary>
 /// <typeparam name="T">The type taken and returned by the transform style methods.</typeparam>
 /// <param name="handler">what to do at this stage of the pipeline</param>
 /// <param name="delegation">what the rest of the pipeline should do</param>
 /// <param name="argument">The argument to pass to both this node and the rest of the pipeline</param>
 private void DoAction <T>(Action <T> handler, Action <T> delegation, T argument)
 {
     ForwardingSegment.DoAction(handler, Current.Reset, delegation, Next.Reset, argument);
 }