コード例 #1
0
        public CreateFleetCommandHandler(IFleetRepository fleetRepository)
        {
            DefProg.For(fleetRepository, "fleetRepository").IsNotNull();

            this._fleetRepository = fleetRepository;
        }
コード例 #2
0
        public DeleteDriverCommandHandler(IDriverRepository driverRepository)
        {
            DefProg.For(driverRepository, "DriverRepository").IsNotNull();

            this._driverRepository = driverRepository;
        }
コード例 #3
0
        public CreateUserCommandHandler(IUserRepository userRepository)
        {
            DefProg.For(userRepository, "UserRepository").IsNotNull();

            this._userRepository = userRepository;
        }
コード例 #4
0
        public CreateVehicleCommandHandler(IVehicleRepository vehicleRepository)
        {
            DefProg.For(vehicleRepository, "vehicleRepository").IsNotNull();

            this._vehicleRepository = vehicleRepository;
        }