public BigramHistogramReportService(ICleaningService cleaningService, IParsingService parsingService, IBigramService bigramService, IHistogramService histogramService)
 {
     _cleaningService  = cleaningService;
     _parsingService   = parsingService;
     _bigramService    = bigramService;
     _histogramService = histogramService;
 }
Exemple #2
0
        public House(
            IElectricityService electricityService,
            IWaterService waterService,
            IInternetService internetService,
            ICleaningService cleaningService,
            ISanitationService sanitationService)
        {
            this.electricityService = electricityService;
            this.waterService       = waterService;
            this.internetService    = internetService;
            this.cleaningService    = cleaningService;
            this.sanitationService  = sanitationService;

            services = new Dictionary <HouseService, IHouseHoldService>();

            this.services.Add(HouseService.Electricity, this.electricityService);
            this.services.Add(HouseService.Water, this.waterService);
            this.services.Add(HouseService.Internet, this.internetService);
            this.services.Add(HouseService.Cleaning, this.cleaningService);
            this.services.Add(HouseService.Sanitation, this.sanitationService);
        }
 public HiltonHotel(ICleaningService cleaningService)
 {
     _cleaningService = cleaningService;
 }
 public CleaningsController(IHotelService hotelService, ICleaningService cleaningService)
 {
     this.hotelService    = hotelService;
     this.cleaningService = cleaningService;
 }
Exemple #5
0
 public CleaningsController(ICleaningService cleaningService)
 {
     this.cleaningService = cleaningService;
 }