Ejemplo n.º 1
0
        /// <summary>
        /// Constructor
        /// </summary>
        public VehicleMakerController(IVehicleMakerService vehicleMakerService)
        {
            if (vehicleMakerService == null)
            {
                throw new ArgumentNullException("vehicleMakerService");
            }

            this._vehicleMakerService = vehicleMakerService;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Constructor
        /// </summary>
        public VehicleMakerController(IVehicleMakerService vehicleMakerService)
        {
            if (vehicleMakerService == null)
            {
                throw new ArgumentNullException("vehicleMakerService");
            }

            this._vehicleMakerService = vehicleMakerService;
        }
Ejemplo n.º 3
0
        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;
        }
Ejemplo n.º 4
0
        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;
        }