예제 #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());
 }