コード例 #1
0
 public void TestSetup()
 {
     this.ServicePocoClient = new TestNetworkServicePocoClient();
     this.ServiceLocator = new ServiceLocator();
     
     var manager = this.ServiceLocator.Locate<IServiceLocationOverrideManager>();
     manager.RegisterServiceInstance(typeof(INetworkServicePocoClientFactory), new TestNetworkServicePocoClientFactory(this.ServicePocoClient));
 }
コード例 #2
0
        public void TestSetup()
        {
            this.ServicePocoClient = new TestNetworkServicePocoClient();
            this.ServiceLocator    = new ServiceLocator();

            var manager = this.ServiceLocator.Locate <IServiceLocationOverrideManager>();

            manager.RegisterServiceInstance(typeof(INetworkServicePocoClientFactory), new TestNetworkServicePocoClientFactory(this.ServicePocoClient));
        }
コード例 #3
0
 public void TestCleanup()
 {
     this.ServicePocoClient = new TestNetworkServicePocoClient();
     this.ServiceLocator = new ServiceLocator();
 }
コード例 #4
0
 public void TestCleanup()
 {
     this.ServicePocoClient = new TestNetworkServicePocoClient();
     this.ServiceLocator    = new ServiceLocator();
 }