Example #1
0
 public Bancomat()
 {
     _handler = new TenRubleHandler(null);
     _handler = new TenDollarHandler(_handler);
     _handler = new FiftyDollarHandler(_handler);
     _handler = new HundredDollarHandler(_handler);
 }
Example #2
0
 protected DollarHandlerBase(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
Example #3
0
 protected BanknoteHandler(BanknoteHandler nextHandler)
 {
     _nextHandler = nextHandler;
 }
Example #4
0
 public FiftyDollarHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
Example #5
0
 public TenDollarHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
Example #6
0
 public ThousandRubleHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
Example #7
0
 public HundredDollarHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
Example #8
0
 public FiftyRubleHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
Example #9
0
 public HundredRubleHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
Example #10
0
 public TenRubleHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
Example #11
0
 public FiftyEuroHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
Example #12
0
 public TenEuroHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
Example #13
0
 protected EuroHandlerBase(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
Example #14
0
 protected RubleHandlerBase(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }