示例#1
0
        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;
 }
示例#4
0
 public GPipeline(CustomPipeline parent)
 {
     this.parent = parent;
 }