コード例 #1
0
 public static void BeforeTestRun()
 {
     //Load up a few data bits for our scenarios
     var repo = new FakePartsRepository();
     _payTasks = new PaymentTasks(repo);
 }
コード例 #2
0
 public HomeController()
 {
     _kernel.Load("Modules.*.dll");
     _parts = _kernel.Get<PartsTasks>();
     _pay = _kernel.Get<PaymentTasks>();
 }