Example #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="gpxLoopsSplitterExecutor"></param>
 /// <param name="gpxProlongerExecutor"></param>
 /// <param name="itmWgs84MathTransfrom"></param>
 /// <param name="elasticSearchGateway"></param>
 /// <param name="options"></param>
 /// <param name="geometryFactory"></param>
 /// <param name="logger"></param>
 public AddibleGpxLinesFinderService(IGpxLoopsSplitterExecutor gpxLoopsSplitterExecutor,
                                     IGpxProlongerExecutor gpxProlongerExecutor,
                                     IMathTransform itmWgs84MathTransfrom,
                                     IElasticSearchGateway elasticSearchGateway,
                                     IOptions <ConfigurationData> options,
                                     IGeometryFactory geometryFactory,
                                     ILogger logger)
 {
     _gpxLoopsSplitterExecutor = gpxLoopsSplitterExecutor;
     _gpxProlongerExecutor     = gpxProlongerExecutor;
     _itmWgs84MathTransfrom    = itmWgs84MathTransfrom;
     _elasticSearchGateway     = elasticSearchGateway;
     _geometryFactory          = geometryFactory;
     _logger  = logger;
     _options = options.Value;
 }
 public void TestInitialize()
 {
     _executor = new GpxProlongerExecutor(GeometryFactory.Default);
 }
Example #3
0
 public void TestInitialize()
 {
     _executor = new GpxProlongerExecutor(new GeometryFactory());
 }