示例#1
0
 public void TestInitialize()
 {
     _nakebGateway         = Substitute.For <INakebGateway>();
     _elevationDataStorage = Substitute.For <IElevationDataStorage>();
     _elasticSearchGateway = Substitute.For <IElasticSearchGateway>();
     _adapter = new NakebPointsOfInterestAdapter(_nakebGateway, _elevationDataStorage, _elasticSearchGateway, Substitute.For <IDataContainerConverterService>(), Substitute.For <ILogger>());
 }
示例#2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="nakebGateway"></param>
 /// <param name="elevationDataStorage"></param>
 /// <param name="elasticSearchGateway"></param>
 /// <param name="logger"></param>
 public NakebPointsOfInterestAdapter(INakebGateway nakebGateway,
                                     IElevationDataStorage elevationDataStorage,
                                     IElasticSearchGateway elasticSearchGateway,
                                     ILogger logger) : base(elevationDataStorage, elasticSearchGateway)
 {
     _nakebGateway = nakebGateway;
     _logger       = logger;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="nakebGateway"></param>
 /// <param name="dataContainerConverterService"></param>
 /// <param name="logger"></param>
 public NakebPointsOfInterestAdapter(INakebGateway nakebGateway,
                                     IDataContainerConverterService dataContainerConverterService,
                                     ILogger logger) :
     base(dataContainerConverterService,
          logger)
 {
     _nakebGateway = nakebGateway;
 }
示例#4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="nakebGateway"></param>
 /// <param name="elevationDataStorage"></param>
 /// <param name="elasticSearchGateway"></param>
 /// <param name="dataContainerConverterService"></param>
 /// <param name="logger"></param>
 public NakebPointsOfInterestAdapter(INakebGateway nakebGateway,
                                     IElevationDataStorage elevationDataStorage,
                                     IElasticSearchGateway elasticSearchGateway,
                                     IDataContainerConverterService dataContainerConverterService,
                                     ILogger logger) : base(elevationDataStorage, elasticSearchGateway, dataContainerConverterService)
 {
     _nakebGateway = nakebGateway;
     _logger       = logger;
 }
示例#5
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="nakebGateway"></param>
 /// <param name="elevationDataStorage"></param>
 /// <param name="elasticSearchGateway"></param>
 /// <param name="dataContainerConverterService"></param>
 /// <param name="itmWgs84MathTransfromFactory"></param>
 /// <param name="options"></param>
 /// <param name="logger"></param>
 public NakebPointsOfInterestAdapter(INakebGateway nakebGateway,
                                     IElevationDataStorage elevationDataStorage,
                                     IElasticSearchGateway elasticSearchGateway,
                                     IDataContainerConverterService dataContainerConverterService,
                                     IItmWgs84MathTransfromFactory itmWgs84MathTransfromFactory,
                                     IOptions <ConfigurationData> options,
                                     ILogger logger) :
     base(elevationDataStorage,
          elasticSearchGateway,
          dataContainerConverterService,
          itmWgs84MathTransfromFactory,
          options,
          logger)
 {
     _nakebGateway = nakebGateway;
 }
 public void TestInitialize()
 {
     InitializeSubstitues();
     _nakebGateway = Substitute.For <INakebGateway>();
     _adapter      = new NakebPointsOfInterestAdapter(_nakebGateway, _dataContainerConverterService, Substitute.For <ILogger>());
 }
示例#7
0
 public void TestInitialize()
 {
     InitializeSubstitues();
     _nakebGateway = Substitute.For <INakebGateway>();
     _adapter      = new NakebPointsOfInterestAdapter(_nakebGateway, _elevationDataStorage, _elasticSearchGateway, _dataContainerConverterService, _itmWgs84MathTransfromFactory, _options, Substitute.For <ILogger>());
 }