public void ChainCustomPipeline() { var validator = SpatialValidator.Create(); var customPipeline = new CustomPipeline(); var pipeline = validator.ChainTo(customPipeline).StartingLink; pipeline.GeographyPipeline.SetCoordinateSystem(CoordinateSystem.DefaultGeography); Assert.IsTrue(customPipeline.GeographySetCoordinateSystemWasCalled); }
public void ChainCustomPipeline() { var validator = SpatialValidator.Create(); var customPipeline = new CustomPipeline(); var pipeline = validator.ChainTo(customPipeline).StartingLink; pipeline.GeographyPipeline.SetCoordinateSystem(CoordinateSystem.DefaultGeography); Assert.True(customPipeline.GeographySetCoordinateSystemWasCalled); }
public GPipeline(CustomPipeline parent) { this.parent = parent; }