Beispiel #1
0
        public OilMakerController(IOilMakerService oilMakerService)
        {
            if (oilMakerService == null)
            {
                throw new ArgumentNullException("oilMakerService");
            }

            this._oilMakerService = oilMakerService;
        }
        public RecordBaseController(IOilService oilService, IOilMakerService oilMakerService, IVehicleMakerService vehicleMakerService, IVehicleModelMakerService vehicleModelMakerService, IAirFilterService airFilterService, IOilFilterService oilFilterService, IBrakeOilService brakeOilService, IPowerSteeringOilService powerSteeringOilService)
        {
            if (oilService == null)
            {
                throw new ArgumentNullException("oilService");
            }

            this._oilService               = oilService;
            this._oilMakerService          = oilMakerService;
            this._vehicleMakerService      = vehicleMakerService;
            this._vehicleModelMakerService = vehicleModelMakerService;
            this._airFilterService         = airFilterService;
            this._oilFilterService         = oilFilterService;
            this._brakeOilService          = brakeOilService;
            this._powerSteeringOilService  = powerSteeringOilService;
        }
        public RecordBaseController(IOilService oilService, IOilMakerService oilMakerService, IVehicleMakerService vehicleMakerService, IVehicleModelMakerService vehicleModelMakerService, IAirFilterService airFilterService, IOilFilterService oilFilterService, IBrakeOilService brakeOilService, IPowerSteeringOilService powerSteeringOilService)
        {
            if (oilService == null)
            {
                throw new ArgumentNullException("oilService");
            }

            this._oilService = oilService;
            this._oilMakerService = oilMakerService;
            this._vehicleMakerService = vehicleMakerService;
            this._vehicleModelMakerService = vehicleModelMakerService;
            this._airFilterService = airFilterService;
            this._oilFilterService = oilFilterService;
            this._brakeOilService = brakeOilService;
            this._powerSteeringOilService = powerSteeringOilService;
        }