public WeatherHistoryDomain(IWeatherStationsData weatherStationsData, IPointData pointData, IIpmaDataRequisitions ipmaDataRequisitions, IEvaporationRepository evaporationRepository, IWeatherStationRepository weatherStationRepository, IReadHourlyRepository readHourlyRepository) { _weatherStationsData = weatherStationsData; _pointData = pointData; _ipmaDataRequisitions = ipmaDataRequisitions; _evaporationRepository = evaporationRepository; _WeatherStationRepository = weatherStationRepository; _readHourlyRepository = readHourlyRepository; }
public void GlobalSetupGetUser() { _routeDataMock = new Mock <IRouteData>(); _pointDataMock = new Mock <IPointData>(); _routeBase = routesData(_routeCode); _routeData = _routeDataMock.Object; _pointData = _pointDataMock.Object; _routesController = new RoutesController( new GetRoutesByFromPointCodeQuery(_routeData), new SaveRouteCommand(_routeData), new UpdateRouteCommand(_routeData), new DeleteRouteCommand(_routeData)); }
public void GlobalSetupGetPoint() { _pointDataMock = new Mock <IPointData>(); _routeDataMock = new Mock <IRouteData>(); _pointBase = PointsData(_pointCode); _pointData = _pointDataMock.Object; _routeData = _routeDataMock.Object; _pointsController = new PointsController( new GetPointByCodeQuery(_pointData), new SavePointCommand(_pointData), new UpdatePointCommand(_pointData), new DeletePointCommand(_pointData, _routeData)); }
public UpdatePointCommand(IPointData pointData) { _pointdata = pointData; }
public ImageHub(IPointData points) { this.points = points; }
public SavePointCommand(IPointData pointData) { _pointdata = pointData; }
public designerModel(IPointData points) { this.points = points; }
public DeletePointCommand(IPointData pointData, IRouteData routeData) { _pointData = pointData; _routeData = routeData; }
public GetPointByCodeQuery(IPointData pointData) { _pointData = pointData; }