示例#1
0
文件: ATM.cs 项目: jubick1337/COR
 public ATM()
 {
     _handler = new TenRubleHandler(_handler);
     _handler = new FiftyRubleHandler(_handler);
     _handler = new HundredRubleHandler(_handler);
     _handler = new TwoHundredRubleHandler(_handler);
     _handler = new FiveHundredRubleHandler(_handler);
     _handler = new ThousandRubleHandler(_handler);
     _handler = new TwoThousandRubleHandler(_handler);
     _handler = new OneDollarHandler(_handler);
     _handler = new TwoDollarHandler(_handler);
     _handler = new FiveThousandRubleHandler(_handler);
     _handler = new TenDollarHandler(_handler);
     _handler = new TwentyDollarHandler(_handler);
     _handler = new FiftyDollarHandler(_handler);
     _handler = new HundredDollarHandler(_handler);
 }
示例#2
0
文件: ATM.cs 项目: jubick1337/COR
 protected BanknoteHandler(BanknoteHandler nextHandler)
 {
     _nextHandler = nextHandler;
 }
示例#3
0
文件: ATM.cs 项目: jubick1337/COR
 public FiveHundredRubleHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
示例#4
0
文件: ATM.cs 项目: jubick1337/COR
 public FiveThousandRubleHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
示例#5
0
文件: ATM.cs 项目: jubick1337/COR
 public TenRubleHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
示例#6
0
文件: ATM.cs 项目: jubick1337/COR
 public FiftyRubleHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
示例#7
0
文件: ATM.cs 项目: jubick1337/COR
 public TenDollarHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
示例#8
0
文件: ATM.cs 项目: jubick1337/COR
 public FiftyDollarHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
示例#9
0
文件: ATM.cs 项目: jubick1337/COR
 public HundredDollarHandler(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
示例#10
0
文件: ATM.cs 项目: jubick1337/COR
 protected DollarHandlerBase(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }
示例#11
0
文件: ATM.cs 项目: jubick1337/COR
 protected RubleHandlerBase(BanknoteHandler nextHandler) : base(nextHandler)
 {
 }