예제 #1
0
파일: Foo.cs 프로젝트: uglybugger/Enforcer
 // 1. Instantiating a service within a method is not a good idea.
 public void DoFoo()
 {
     var bar = new Bar(); // don't do this
     bar.DoBar();
 }