コード例 #1
0
 public override void TestsInitialize()
 {
     base.TestsInitialize();
     WcfServiceHost.StartService <TestService, ITestService>();
     ServiceAdapter = new ServiceAdapter <ITestService>();
     ClientServiceLocator.Instance().CommandDispatcher = new WcfServiceHost();
 }
コード例 #2
0
 public override void TestsInitialize()
 {
     base.TestsInitialize();
     WcfServiceHost.StartService <CustomerService, ICustomerService>();
     WcfServiceHost.StartService <AddressService, IAddressService>();
     _originalCommandDispatcher = ClientServiceLocator.Instance().CommandDispatcher;
     ClientServiceLocator.Instance().CommandDispatcher = new WcfTestCommandDispatcher();
 }
コード例 #3
0
 public override void TestsInitialize()
 {
     base.TestsInitialize();
     WcfServiceHost.StartService <TestService, ITestService>();
 }
コード例 #4
0
 public override void TestsInitialize()
 {
     base.TestsInitialize();
     WcfServiceHost.StartService <CustomerService, ICustomerService>();
     ClientServiceLocator.Instance().CommandDispatcher = new WcfServiceHost();
 }
コード例 #5
0
 public override void TestsInitialize()
 {
     base.TestsInitialize();
     WcfServiceHost.StartService <CustomerService, ICustomerService>();
     WcfServiceHost.StartService <AddressService, IAddressService>();
 }