示例#1
0
文件: DIP_Bad.cs 项目: rikrd92/Blog
 public void DoWork()
 {
     this.reader = new KeyboardReader();
     this.writter = new PrinterWriter();
     this.writter.Write(this.reader.Read());
 }
示例#2
0
文件: DIP_Bad.cs 项目: vicakazu/Blog
 public void DoWork()
 {
     this.reader  = new KeyboardReader();
     this.writter = new PrinterWriter();
     this.writter.Write(this.reader.Read());
 }