public ApplyForVehicleMaintenanceAppService( IApplyForVehicleMaintenanceRepository applyForVehicleMaintenanceRepository, IDriverRepository driverRepository, IMaintenanceDeliveryRepository maintenanceDeliveryRepository, ICarInfoRepository carInfoRepository, ISysDictionaryRepository sysDictionaryRepository, IRepairCostRepository repairCostRepository, ICarRepairTimeRepository carRepairTimeRepository, ILayerRepository layerRepository, IDeliveryRepository deliveryRepository, IServicingMaterialRepository servicingMaterialRepository, IManHourRepository manHourRepository ) { this._applyForVehicleMaintenanceRepository = applyForVehicleMaintenanceRepository; this._deliveryRepository = deliveryRepository; this._driverRepository = driverRepository; this._layerRepository = layerRepository; this._repairCostRepository = repairCostRepository; this._carRepairTimeRepository = carRepairTimeRepository; this._sysDictionaryRepository = sysDictionaryRepository; this._maintenanceDeliveryRepository = maintenanceDeliveryRepository; this._carInfoRepository = carInfoRepository; this._servicingMaterialRepository = servicingMaterialRepository; this._manHourRepository = manHourRepository; }
public LayerController(ILayerRepository layerRepository, IUserProfileRepository userProfileRepository, IReportRepository reportRepository, IStratigraphyRepository stratigraphyRepository) { _layerRepository = layerRepository; _userProfileRepository = userProfileRepository; _reportRepository = reportRepository; _stratigraphyRepository = stratigraphyRepository; }
public BudgetReceiptAppService( IBudgetReceiptRepository budgetReceiptRepository, ISysDictionaryRepository sysDictionaryRepository, IBudgetOutlayRepository budgetOutlayRepository, ILayerRepository layerRepository, IReceiptRepository receiptRepository) { this._budgetReceiptRepository = budgetReceiptRepository; this._sysDictionaryRepository = sysDictionaryRepository; this._budgetOutlayRepository = budgetOutlayRepository; this._layerRepository = layerRepository; this._receiptRepository = receiptRepository; }
public BudgetOutlayAppService( IBudgetOutlayRepository budgetOutlayRepository, ISysDictionaryRepository sysDictionaryRepository, IBudgetReceiptRepository budgetReceiptRepository, ILayerRepository layerRepository, IActualOutlayRepository actualOutlayRepository, IOutlayRepository outlayRepository) { this._budgetOutlayRepository = budgetOutlayRepository; this._sysDictionaryRepository = sysDictionaryRepository; this._budgetReceiptRepository = budgetReceiptRepository; this._actualOutlayRepository = actualOutlayRepository; this._layerRepository = layerRepository; this._outlayRepository = outlayRepository; }
public static void LoadConfigs(ILayerRepository repository, string configDir) { // Create configuration object map IPathResolver pathResolver = new PathResolver(configDir); LayerMap LayerMap = new LayerMap( new GridSetMap( new EnvelopeMap() ), new CacheMap(pathResolver), new ProviderMap( new VectorTileLayerMap( new GridSetMap( new EnvelopeMap() ), new CacheMap(pathResolver), new VectorTileProviderMap(pathResolver), new EnvelopeMap() ), pathResolver ), new EnvelopeMap() ); // Deserialize config files JsonSerializer serializer = new JsonSerializer(); try { foreach (string file in Directory.EnumerateFiles(configDir, "*.json", SearchOption.TopDirectoryOnly)) { using (StreamReader sr = new StreamReader(file)) { using (JsonTextReader reader = new JsonTextReader(sr)) { LayerConfig LayerConfig = (LayerConfig)serializer.Deserialize(reader, typeof(LayerConfig)); Layer l = LayerMap.Map(LayerConfig); repository.Put(l); } } } } catch (Exception e) { throw; //Trace.TraceWarning() } }
public LayersResource(ILayerRepository repo) { this.layersRepository = repo; }
public LayerService(ILayerRepository repo, IMapper mapper) { _repo = repo; _mapper = mapper; }
public TileJSONController() { this._repository = new LayerRepository(); }
public TMSController() { this._repository = new LayerRepository(); }
public LayersResource(ILayerRepository repo) { this.layersRepository = repo; }
public LayerAppService(ILayerRepository layerRepository , IProductRepository productRepository) { this._layerRepository = layerRepository; this._productRepository = productRepository; }