Exemplo n.º 1
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);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GeometryForwarder"/> class.
 /// </summary>
 /// <param name="segment">The segment.</param>
 public GeometryForwarder(ForwardingSegment segment)
 {
     this.segment = segment;
 }
Exemplo n.º 3
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);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GeographyForwarder"/> class.
 /// </summary>
 /// <param name="segment">The segment.</param>
 public GeographyForwarder(ForwardingSegment segment)
 {
     this.segment = segment;
 }