Beispiel #1
0
 public ProductSetCreditState(string[] command, bool canBeBoughtOnCredit, IBarcodeCLI barcodeCli,
                              IBarcodeSystem barcodeSystem) : base(command, barcodeCli, barcodeSystem)
 {
     credit = canBeBoughtOnCredit;
 }
 public ProductSetActiveState(string[] command, bool isActive, IBarcodeCLI barcodeCli,
                              IBarcodeSystem barcodeSystem) : base(command, barcodeCli, barcodeSystem)
 {
     active = isActive;
 }
Beispiel #3
0
 public AddCreditToUser(string[] command, IBarcodeCLI barcodeCli, IBarcodeSystem barcodeSystem) : base(command)
 {
     this.barcodeCli    = barcodeCli;
     this.barcodeSystem = barcodeSystem;
 }
Beispiel #4
0
 public UndoCommand(string[] command, List <ICommand> commandsExecuted, IBarcodeCLI barcodeCli) : base(command)
 {
     this.commandsExecuted = commandsExecuted;
     this.barcodeCli       = barcodeCli;
 }
Beispiel #5
0
 public CloseCommand(IBarcodeCLI barcodeCli)
 {
     this.barcodeCli = barcodeCli;
     Succeeded       = true;
 }
 public DisplayCommandLogCommand(List <ICommand> commandsEntered, IBarcodeCLI barcodeCli)
 {
     this.commandsEntered = commandsEntered;
     this.barcodeCli      = barcodeCli;
 }
Beispiel #7
0
 public DisplayAllProductsCommand(string[] command, IBarcodeCLI barcodeCli, IBarcodeSystem barcodeSystem)
     : base(command)
 {
     this.barcodeCli    = barcodeCli;
     this.barcodeSystem = barcodeSystem;
 }
Beispiel #8
0
 public BarcodeSystem(ILog log, IBarcodeCLI barcodeCli)
 {
     this.log                    = log;
     this.barcodeCli             = barcodeCli;
     Transaction.LogTransaction += this.log.AddLogEntry;
 }
Beispiel #9
0
 protected ProductSetCommand(string[] command, IBarcodeCLI barcodeCli, IBarcodeSystem barcodeSystem) :
     base(command)
 {
     this.barcodeCli    = barcodeCli;
     this.barcodeSystem = barcodeSystem;
 }
Beispiel #10
0
 public DisplayUserInfoCommand(string[] command, IBarcodeCLI barcodeCli, IBarcodeSystem barcodeSystem) :
     base(command)
 {
     this.barcodeCli    = barcodeCli;
     this.barcodeSystem = barcodeSystem;
 }
Beispiel #11
0
 public BuyProductCommand(string[] command, IBarcodeCLI barcodeCli, IBarcodeSystem barcodeSystem) : base(command)
 {
     this.barcodeCli    = barcodeCli;
     this.barcodeSystem = barcodeSystem;
 }