Exemple #1
0
 public AccessBusiness(IPlateRecognizer plateRecognizer, IVehicleBusiness vehicleBusiness,
                       IAccessRepository accessRepository)
 {
     _plateRecognizer  = plateRecognizer;
     _vehicleBusiness  = vehicleBusiness;
     _accessRepository = accessRepository;
 }
Exemple #2
0
 public formMain(IPolicemanBusiness _policemanBusiness, IVehicleBusiness _vehicleBusiness, IOffenseBusiness _offenseBusiness)
 {
     InitializeComponent();
     this.offenseBusiness   = _offenseBusiness;
     this.policemanBusiness = _policemanBusiness;
     this.vehicleBusiness   = _vehicleBusiness;
 }
 public VehicleController(ILogger <VehicleController> logger, IVehicleBusiness vehicleBusiness)
 {
     _logger          = logger;
     _vehicleBusiness = vehicleBusiness;
 }
 public formAdministration(IPolicemanBusiness _policemanBusiness, IVehicleBusiness _vehicleBusiness)
 {
     InitializeComponent();
     this.policemanBusiness = _policemanBusiness;
     this.vehicleBusiness   = _vehicleBusiness;
 }
Exemple #5
0
 public VehiclesController(IVehicleBusiness vehicleBusiness)
 {
     _vehicleBusiness = vehicleBusiness;
 }
Exemple #6
0
 public AvailabilityController(IAvailabilityBusiness availabilityBusiness, ILocationBusiness locationBusiness, IVehicleBusiness vehicleBusiness)
 {
     _availabilityBusiness = availabilityBusiness;
     _locationBusiness     = locationBusiness;
     _vehicleBusiness      = vehicleBusiness;
 }
Exemple #7
0
 public VehicleController(IVehicleBusiness vehicleBusiness, IVehicleTypeBusiness vehicleTypeBusiness)
 {
     _vehicleBusiness     = vehicleBusiness;
     _vehicleTypeBusiness = vehicleTypeBusiness;
 }
 //Constructor Injection
 public VehicleController()
 {
     this.vehicleB = new VehicleBusiness();
 }
Exemple #9
0
 public formVehicles(IVehicleBusiness _vehicleBusiness)
 {
     InitializeComponent();
     this.vehicleBusiness = _vehicleBusiness;
 }