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; }
public AddCreditToUser(string[] command, IBarcodeCLI barcodeCli, IBarcodeSystem barcodeSystem) : base(command) { this.barcodeCli = barcodeCli; this.barcodeSystem = barcodeSystem; }
public UndoCommand(string[] command, List <ICommand> commandsExecuted, IBarcodeCLI barcodeCli) : base(command) { this.commandsExecuted = commandsExecuted; this.barcodeCli = barcodeCli; }
public CloseCommand(IBarcodeCLI barcodeCli) { this.barcodeCli = barcodeCli; Succeeded = true; }
public DisplayCommandLogCommand(List <ICommand> commandsEntered, IBarcodeCLI barcodeCli) { this.commandsEntered = commandsEntered; this.barcodeCli = barcodeCli; }
public DisplayAllProductsCommand(string[] command, IBarcodeCLI barcodeCli, IBarcodeSystem barcodeSystem) : base(command) { this.barcodeCli = barcodeCli; this.barcodeSystem = barcodeSystem; }
public BarcodeSystem(ILog log, IBarcodeCLI barcodeCli) { this.log = log; this.barcodeCli = barcodeCli; Transaction.LogTransaction += this.log.AddLogEntry; }
protected ProductSetCommand(string[] command, IBarcodeCLI barcodeCli, IBarcodeSystem barcodeSystem) : base(command) { this.barcodeCli = barcodeCli; this.barcodeSystem = barcodeSystem; }
public DisplayUserInfoCommand(string[] command, IBarcodeCLI barcodeCli, IBarcodeSystem barcodeSystem) : base(command) { this.barcodeCli = barcodeCli; this.barcodeSystem = barcodeSystem; }
public BuyProductCommand(string[] command, IBarcodeCLI barcodeCli, IBarcodeSystem barcodeSystem) : base(command) { this.barcodeCli = barcodeCli; this.barcodeSystem = barcodeSystem; }