/// <summary> /// Creates a SpatialBuilder for this implemenation /// </summary> /// <returns> /// The SpatialBuilder created. /// </returns> public override SpatialBuilder CreateBuilder() { var geography = new GeographyBuilderImplementation(this); var geometry = new GeometryBuilderImplementation(this); var input = new ForwardingSegment(geography, geometry); return new SpatialBuilder(input, input, geography, geometry); }
public override SpatialBuilder CreateBuilder() { GeographyBuilderImplementation currentGeography = new GeographyBuilderImplementation(this); GeometryBuilderImplementation currentGeometry = new GeometryBuilderImplementation(this); ForwardingSegment segment = new ForwardingSegment(currentGeography, currentGeometry); return new SpatialBuilder((GeographyPipeline) segment, (GeometryPipeline) segment, currentGeography, currentGeometry); }
/// <summary> /// Creates a SpatialBuilder for this implemenation /// </summary> /// <returns> /// The SpatialBuilder created. /// </returns> public override SpatialBuilder CreateBuilder() { var geography = new GeographyBuilderImplementation(this); var geometry = new GeometryBuilderImplementation(this); var input = new ForwardingSegment(geography, geometry); return(new SpatialBuilder(input, input, geography, geometry)); }
public void CreatePipeline() { this.currentNode = new TracingPipe(); this.downstreamSegment = new TracingPipe(); this.downstreamForwarding = new ForwardingSegment(this.downstreamSegment); this.testSubject = new ForwardingSegment(this.currentNode); this.testSubject.ChainTo(this.downstreamForwarding); }