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